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.001538/0.001538, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001668/0.001669, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.4/2.4, allocations: 442.5 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 68.86 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.5728/0.8804, allocations: 72.78 MB / 1.098 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.026/0.9064, allocations: 18.8 MB / 1.116 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.9106, allocations: 94.56 kB / 1.116 GB, free: 7 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.9215, allocations: 4.25 MB / 1.12 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008772/0.9303, allocations: 2.418 MB / 1.123 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006998/0.9373, allocations: 2.119 MB / 1.125 GB, free: 3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01806/0.9554, allocations: 10.84 MB / 1.135 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008358/0.9638, allocations: 6.137 MB / 1.141 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007684/0.9715, allocations: 3.261 MB / 1.145 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005154/0.9767, allocations: 2.538 MB / 1.147 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0007912/0.9775, allocations: 259.7 kB / 1.147 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006655/0.9841, allocations: 1.549 MB / 1.149 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.9853, allocations: 0.8992 MB / 1.15 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003479/0.9888, allocations: 1.944 MB / 1.152 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008599/0.9974, allocations: 5.314 MB / 1.157 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.9975, allocations: 5 kB / 1.157 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9975, allocations: 0 / 1.157 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000144/0.9976, allocations: 0 / 1.157 GB, free: 3.027 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.00862/1.006, allocations: 4.346 MB / 1.161 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.006, allocations: 10.84 kB / 1.161 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/1.009, allocations: 0.6753 MB / 1.162 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007697/1.017, allocations: 3.77 MB / 1.165 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/1.017, allocations: 139.8 kB / 1.166 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/1.018, allocations: 185.3 kB / 1.166 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/1.022, allocations: 2.356 MB / 1.168 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.749e-05/1.022, allocations: 12.53 kB / 1.168 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/1.022, allocations: 70.34 kB / 1.168 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/1.022, allocations: 40.62 kB / 1.168 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/1.026, allocations: 1.906 MB / 1.17 GB, free: 10.38 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.01509/1.041, allocations: 11.49 MB / 1.181 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/1.044, allocations: 1.344 MB / 1.182 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/1.045, allocations: 1.005 MB / 1.183 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007363/1.053, allocations: 3.722 MB / 1.187 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.054, allocations: 0.778 MB / 1.188 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00231/1.057, allocations: 238.7 kB / 1.188 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=94): time 8.426e-06/1.057, allocations: 0 / 1.188 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=94): time 0.01326/1.07, allocations: 4.232 MB / 1.192 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.07, allocations: 68.41 kB / 1.192 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.075, allocations: 3.455 MB / 1.196 GB, free: 280 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003729/1.076, allocations: 53.7 kB / 1.196 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.077, allocations: 1.56 MB / 1.197 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/1.078, allocations: 343.2 kB / 1.198 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006633/1.078, allocations: 459.4 kB / 1.198 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/1.078, allocations: 305.1 kB / 1.198 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.08, allocations: 0.8761 MB / 1.199 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/1.082, allocations: 1.671 MB / 1.201 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/1.086, allocations: 2.263 MB / 1.203 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.086, allocations: 4 kB / 1.203 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006968/1.093, allocations: 3.345 MB / 1.206 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/1.093, allocations: 41.64 kB / 1.206 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/1.093, allocations: 16 kB / 1.206 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/1.095, allocations: 0.6964 MB / 1.207 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.097, allocations: 341.3 kB / 1.207 GB, free: 3.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.098, allocations: 1.909 MB / 1.209 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/1.101, allocations: 124.9 kB / 1.209 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.101, allocations: 95.89 kB / 1.209 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002712/1.104, allocations: 1.585 MB / 1.211 GB, free: 15.9 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0019/1.106, allocations: 1.641 MB / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003032/1.109, allocations: 2.198 MB / 1.215 GB, free: 11.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.456e-06/1.109, allocations: 4 kB / 1.215 GB, free: 11.46 MB / 0.92 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005615/1.114, allocations: 3.219 MB / 1.218 GB, free: 8.207 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/1.114, allocations: 41.88 kB / 1.218 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/1.115, allocations: 23.98 kB / 1.218 GB, free: 8.137 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/1.115, allocations: 477.3 kB / 1.218 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.117, allocations: 341.3 kB / 1.219 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/1.123, allocations: 6.334 MB / 1.225 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/1.126, allocations: 137.4 kB / 1.225 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.126, allocations: 95.89 kB / 1.225 GB, free: 492 kB / 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.000461/1.127, allocations: 300.1 kB / 1.225 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/1.127, allocations: 328 kB / 1.226 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.132, allocations: 2.459 MB / 1.228 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.132, allocations: 19.92 kB / 1.228 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/1.132, allocations: 4 kB / 1.228 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003417/1.135, allocations: 2.074 MB / 1.23 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007682/1.143, allocations: 4.576 MB / 1.235 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/1.143, allocations: 0 / 1.235 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/1.144, allocations: 177.6 kB / 1.235 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/1.145, allocations: 477 kB / 1.235 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/1.145, allocations: 35.97 kB / 1.235 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/1.147, allocations: 1.842 MB / 1.237 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.147, allocations: 0 / 1.237 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/1.152, allocations: 3.194 MB / 1.24 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.154, allocations: 0.5201 MB / 1.241 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000377/1.154, allocations: 20 kB / 1.241 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.155, allocations: 79.84 kB / 1.241 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/1.155, allocations: 84.88 kB / 1.241 GB, free: 8 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.156, allocations: 44.05 kB / 1.241 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0031/1.159, allocations: 2.335 MB / 1.243 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.21e-07/1.159, allocations: 0 / 1.243 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003874/1.163, allocations: 1.513 MB / 1.245 GB, free: 12.1 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.001349/1.164, allocations: 0.6054 MB / 1.245 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006602/1.171, allocations: 3.726 MB / 1.249 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.171, allocations: 0 / 1.249 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/1.172, allocations: 0.8083 MB / 1.25 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/1.178, allocations: 1.459 MB / 1.251 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.188, allocations: 5.932 MB / 1.257 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/1.189, allocations: 2.248 MB / 1.259 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002728/1.192, allocations: 0.8268 MB / 1.26 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/1.193, allocations: 235.4 kB / 1.26 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/1.193, allocations: 0 / 1.26 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.09121/1.284, allocations: 60.24 MB / 1.319 GB, free: 0.75 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 cvode -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