Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 102.1 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 193.9 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.405/2.405, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 69.45 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2801, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.5277/0.8078, allocations: 72.78 MB / 1.098 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.8317, allocations: 18.8 MB / 1.116 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004686/0.8364, allocations: 100.5 kB / 1.116 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01118/0.8476, allocations: 4.241 MB / 1.12 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.854, allocations: 2.422 MB / 1.123 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005145/0.8592, allocations: 2.109 MB / 1.125 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01497/0.8741, allocations: 10.84 MB / 1.135 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.8851, allocations: 6.148 MB / 1.141 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008141/0.8933, allocations: 3.253 MB / 1.145 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005407/0.8987, allocations: 2.539 MB / 1.147 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.8999, allocations: 260 kB / 1.147 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.9051, allocations: 1.548 MB / 1.149 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.9067, allocations: 0.9028 MB / 1.15 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004461/0.9112, allocations: 1.953 MB / 1.152 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00915/0.9203, allocations: 5.311 MB / 1.157 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.9204, allocations: 3.938 kB / 1.157 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9204, allocations: 0 / 1.157 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001786/0.9206, allocations: 0 / 1.157 GB, free: 3.059 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01126/0.9318, allocations: 4.348 MB / 1.161 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.9319, allocations: 9.188 kB / 1.161 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.9355, allocations: 0.6752 MB / 1.162 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008644/0.9442, allocations: 3.766 MB / 1.165 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001966/0.9444, allocations: 141 kB / 1.166 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007591/0.9452, allocations: 186 kB / 1.166 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00555/0.9507, allocations: 2.356 MB / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/0.9508, allocations: 6.938 kB / 1.168 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.9512, allocations: 72.72 kB / 1.168 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/0.9512, allocations: 41.69 kB / 1.168 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.9554, allocations: 1.907 MB / 1.17 GB, free: 10.41 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01687/0.9723, allocations: 11.49 MB / 1.181 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.9756, allocations: 1.333 MB / 1.182 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.9776, allocations: 1.009 MB / 1.183 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008582/0.9862, allocations: 3.734 MB / 1.187 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.9878, allocations: 0.7624 MB / 1.188 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001712/0.9895, allocations: 250.7 kB / 1.188 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=94): time 7.674e-06/0.9895, allocations: 0 / 1.188 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=94): time 0.01256/1.002, allocations: 4.234 MB / 1.192 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/1.002, allocations: 60.41 kB / 1.192 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/1.009, allocations: 3.451 MB / 1.196 GB, free: 320 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.009, allocations: 61.7 kB / 1.196 GB, free: 252 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001711/1.011, allocations: 1.56 MB / 1.197 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/1.011, allocations: 339.3 kB / 1.198 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009474/1.012, allocations: 463.3 kB / 1.198 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/1.012, allocations: 309.1 kB / 1.198 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.014, allocations: 0.8683 MB / 1.199 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.016, allocations: 1.675 MB / 1.201 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/1.02, allocations: 2.271 MB / 1.203 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/1.02, allocations: 4 kB / 1.203 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007104/1.027, allocations: 3.337 MB / 1.206 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/1.027, allocations: 41.69 kB / 1.206 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/1.027, allocations: 20.78 kB / 1.206 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/1.03, allocations: 0.6883 MB / 1.207 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.031, allocations: 353.2 kB / 1.207 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.033, allocations: 1.893 MB / 1.209 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.036, allocations: 124.9 kB / 1.209 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/1.036, allocations: 91.95 kB / 1.209 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003095/1.039, allocations: 1.597 MB / 1.211 GB, free: 15.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002162/1.041, allocations: 1.637 MB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003319/1.045, allocations: 2.206 MB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-05/1.045, allocations: 4 kB / 1.215 GB, free: 11.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006042/1.051, allocations: 3.221 MB / 1.218 GB, free: 8.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/1.051, allocations: 37.7 kB / 1.218 GB, free: 8.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/1.051, allocations: 16 kB / 1.218 GB, free: 8.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009552/1.052, allocations: 477.6 kB / 1.218 GB, free: 7.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/1.053, allocations: 345.3 kB / 1.219 GB, free: 7.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007828/1.061, allocations: 6.33 MB / 1.225 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/1.065, allocations: 137.4 kB / 1.225 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/1.065, allocations: 95.95 kB / 1.225 GB, free: 0.5156 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0007197/1.066, allocations: 300.6 kB / 1.225 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.067, allocations: 332 kB / 1.226 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/1.073, allocations: 2.451 MB / 1.228 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/1.073, allocations: 19.92 kB / 1.228 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.073, allocations: 0 / 1.228 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003563/1.076, allocations: 2.082 MB / 1.23 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.088, allocations: 4.576 MB / 1.235 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/1.088, allocations: 4 kB / 1.235 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/1.089, allocations: 177.5 kB / 1.235 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/1.09, allocations: 469.1 kB / 1.235 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/1.09, allocations: 31.98 kB / 1.235 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001663/1.092, allocations: 1.846 MB / 1.237 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.092, allocations: 4.031 kB / 1.237 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006006/1.098, allocations: 3.187 MB / 1.24 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/1.1, allocations: 0.5201 MB / 1.241 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009963/1.101, allocations: 27.98 kB / 1.241 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.103, allocations: 83.78 kB / 1.241 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.103, allocations: 76.89 kB / 1.241 GB, free: 48 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.103, allocations: 43.97 kB / 1.241 GB, free: 4 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004696/1.108, allocations: 2.347 MB / 1.243 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.108, allocations: 0 / 1.243 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006149/1.114, allocations: 1.509 MB / 1.245 GB, free: 12.13 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/1.116, allocations: 0.5965 MB / 1.245 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007276/1.123, allocations: 3.731 MB / 1.249 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.956e-06/1.123, allocations: 4.438 kB / 1.249 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/1.125, allocations: 0.8031 MB / 1.25 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007508/1.132, allocations: 1.46 MB / 1.251 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.145, allocations: 5.933 MB / 1.257 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/1.148, allocations: 2.245 MB / 1.259 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003418/1.152, allocations: 0.8267 MB / 1.26 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008365/1.153, allocations: 239.3 kB / 1.26 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of SimCode: time 1.272e-06/1.153, allocations: 4 kB / 1.26 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.09739/1.25, allocations: 60.24 MB / 1.319 GB, free: 0.7812 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches