Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002011, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000742/0.000742, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.00183, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.127/1.156, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.603/2.603, allocations: 446.7 MB / 0.6745 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2939/2.897, allocations: 145.9 MB / 0.817 GB, free: 4.188 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.996e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002462/0.002482, allocations: 2.15 MB / 0.8204 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004051/0.006533, allocations: 4.207 MB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.00663, allocations: 3.938 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.007191, allocations: 195 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.442e-05/0.007286, allocations: 63.36 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.007807, allocations: 279.2 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.008281, allocations: 398.6 kB / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.00839, allocations: 38.52 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.008584, allocations: 194.6 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.008706, allocations: 103.7 kB / 0.8257 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.008732, allocations: 16 kB / 0.8257 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.009144, allocations: 335.4 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.009237, allocations: 95.7 kB / 0.8262 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.009311, allocations: 75.75 kB / 0.8262 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.009741, allocations: 430.6 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.009754, allocations: 0 / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.22e-07/0.009755, allocations: 0 / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.00977, allocations: 0 / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008568/0.01063, allocations: 0.7103 MB / 0.8273 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01066, allocations: 12.56 kB / 0.8273 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.01115, allocations: 205.9 kB / 0.8275 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.0114, allocations: 244 kB / 0.8278 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.01141, allocations: 384 / 0.8278 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.01143, allocations: 12.38 kB / 0.8278 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.01166, allocations: 145.6 kB / 0.8279 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.01167, allocations: 192 / 0.8279 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.01168, allocations: 8.125 kB / 0.8279 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01169, allocations: 4 kB / 0.8279 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-05/0.01177, allocations: 31.25 kB / 0.828 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.01223, allocations: 301.6 kB / 0.8283 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.01233, allocations: 89.23 kB / 0.8283 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.01237, allocations: 24.84 kB / 0.8284 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.01242, allocations: 20 kB / 0.8284 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.01244, allocations: 30.56 kB / 0.8284 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.01244, allocations: 0 / 0.8284 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0002404/0.01268, allocations: 117.7 kB / 0.8285 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.01271, allocations: 51.41 kB / 0.8286 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.01293, allocations: 343.5 kB / 0.8289 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.01295, allocations: 29.7 kB / 0.8289 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.01302, allocations: 140.9 kB / 0.8291 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.01305, allocations: 39.67 kB / 0.8291 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.0131, allocations: 41.62 kB / 0.8291 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.0132, allocations: 350.7 kB / 0.8295 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.01328, allocations: 72.52 kB / 0.8295 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.01333, allocations: 61.62 kB / 0.8296 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.01346, allocations: 122.4 kB / 0.8297 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01346, allocations: 0 / 0.8297 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001839/0.01364, allocations: 199.6 kB / 0.8299 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.01369, allocations: 49.62 kB / 0.83 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.0137, allocations: 3.984 kB / 0.83 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.0137, allocations: 0 / 0.83 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.01387, allocations: 39.95 kB / 0.83 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.01388, allocations: 0 / 0.83 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.01397, allocations: 27.86 kB / 0.83 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.01398, allocations: 11.94 kB / 0.83 GB, free: 6.598 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.561e-05/0.01407, allocations: 120.6 kB / 0.8301 GB, free: 6.469 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.01411, allocations: 31.91 kB / 0.8302 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.01431, allocations: 128.9 kB / 0.8303 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01431, allocations: 0 / 0.8303 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01431, allocations: 0 / 0.8303 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01432, allocations: 3.984 kB / 0.8303 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.01449, allocations: 161.8 kB / 0.8305 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01449, allocations: 4 kB / 0.8305 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.01463, allocations: 51.88 kB / 0.8305 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.01469, allocations: 43.64 kB / 0.8306 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01469, allocations: 0 / 0.8306 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.0147, allocations: 7.938 kB / 0.8306 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.0147, allocations: 4 kB / 0.8306 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0147, allocations: 0 / 0.8306 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.01488, allocations: 238.1 kB / 0.8308 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.01491, allocations: 4 kB / 0.8308 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.01501, allocations: 23.92 kB / 0.8308 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.01506, allocations: 19.97 kB / 0.8308 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.01507, allocations: 0 / 0.8308 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001045/0.01517, allocations: 144.7 kB / 0.831 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01517, allocations: 0 / 0.831 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002588/0.01543, allocations: 115.9 kB / 0.8311 GB, free: 5.457 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002232/0.01565, allocations: 168.1 kB / 0.8312 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.01589, allocations: 197.8 kB / 0.8314 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.0159, allocations: 4 kB / 0.8314 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.877e-05/0.01596, allocations: 49.86 kB / 0.8315 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01623, allocations: 89.58 kB / 0.8316 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.01997, allocations: 0.5704 MB / 0.8321 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.02004, allocations: 103.9 kB / 0.8322 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.02016, allocations: 41.88 kB / 0.8323 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.02032, allocations: 103.3 kB / 0.8324 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.02032, allocations: 4 kB / 0.8324 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of Templates: time 0.007087/0.0274, allocations: 5.576 MB / 0.8378 GB, free: 14.58 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.892788671888411]