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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 197 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 61.08 kB / 0.912 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0694/0.3886, allocations: 72.78 MB / 1.139 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02614/0.4148, allocations: 18.81 MB / 1.158 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/0.4184, allocations: 95.44 kB / 1.158 GB, free: 14.42 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008772/0.4272, allocations: 4.245 MB / 1.162 GB, free: 10.17 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00779/0.435, allocations: 2.429 MB / 1.164 GB, free: 7.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006084/0.4411, allocations: 2.069 MB / 1.166 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01384/0.455, allocations: 10.82 MB / 1.177 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008254/0.4632, allocations: 6.148 MB / 1.183 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007338/0.4706, allocations: 3.234 MB / 1.186 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004714/0.4753, allocations: 2.54 MB / 1.188 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4765, allocations: 260 kB / 1.189 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004908/0.4814, allocations: 1.549 MB / 1.19 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.483, allocations: 0.8951 MB / 1.191 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.4871, allocations: 1.947 MB / 1.193 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007588/0.4947, allocations: 5.261 MB / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4947, allocations: 0 / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4947, allocations: 0 / 1.198 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.388e-05/0.4948, allocations: 0 / 1.198 GB, free: 4.879 MB / 0.9512 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.00736/0.5022, allocations: 4.346 MB / 1.202 GB, free: 456 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5022, allocations: 8.031 kB / 1.202 GB, free: 448 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/0.5052, allocations: 0.6746 MB / 1.203 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005808/0.511, allocations: 3.625 MB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.5111, allocations: 143.8 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003131/0.5115, allocations: 191.9 kB / 1.207 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.5153, allocations: 2.36 MB / 1.209 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.905e-05/0.5153, allocations: 7.938 kB / 1.209 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.5155, allocations: 71.98 kB / 1.209 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.5155, allocations: 44 kB / 1.209 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003584/0.5191, allocations: 1.915 MB / 1.211 GB, free: 7.18 MB / 0.9669 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.0136/0.5327, allocations: 11.53 MB / 1.222 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/0.5355, allocations: 1.343 MB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.5372, allocations: 1.021 MB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005772/0.543, allocations: 3.718 MB / 1.228 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.5445, allocations: 0.7818 MB / 1.229 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001131/0.5456, allocations: 242.7 kB / 1.229 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=94): time 3.066e-06/0.5456, allocations: 0 / 1.229 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94): time 0.01194/0.5576, allocations: 4.246 MB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.5576, allocations: 72.33 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004284/0.5619, allocations: 3.451 MB / 1.237 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/0.5621, allocations: 61.7 kB / 1.237 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.5634, allocations: 1.574 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002907/0.5637, allocations: 339.3 kB / 1.239 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006003/0.5643, allocations: 459.4 kB / 1.239 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.5644, allocations: 305.1 kB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.566, allocations: 0.8605 MB / 1.24 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.5681, allocations: 1.682 MB / 1.242 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/0.5716, allocations: 2.267 MB / 1.244 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.5716, allocations: 4 kB / 1.244 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006649/0.5783, allocations: 3.346 MB / 1.248 GB, free: 392 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.5783, allocations: 37.7 kB / 1.248 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.5784, allocations: 16 kB / 1.248 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5383/1.117, allocations: 0.688 MB / 1.248 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/1.118, allocations: 356.3 kB / 1.249 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001802/1.12, allocations: 1.915 MB / 1.251 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.123, allocations: 123.4 kB / 1.251 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.123, allocations: 95.69 kB / 1.251 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002882/1.126, allocations: 1.589 MB / 1.252 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001901/1.128, allocations: 1.643 MB / 1.254 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002947/1.131, allocations: 2.207 MB / 1.256 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/1.131, allocations: 4.375 kB / 1.256 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005118/1.136, allocations: 3.225 MB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.136, allocations: 43.36 kB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/1.136, allocations: 19.58 kB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/1.137, allocations: 476.1 kB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.138, allocations: 347.1 kB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006217/1.144, allocations: 6.336 MB / 1.266 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.147, allocations: 142.8 kB / 1.266 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/1.147, allocations: 91.86 kB / 1.266 GB, free: 165.7 MB / 0.9981 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.0005065/1.147, allocations: 286 kB / 1.267 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/1.148, allocations: 334.5 kB / 1.267 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/1.153, allocations: 2.478 MB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/1.153, allocations: 13.11 kB / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.153, allocations: 0 / 1.269 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00411/1.157, allocations: 2.091 MB / 1.272 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008534/1.166, allocations: 4.572 MB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.166, allocations: 1.406 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009259/1.167, allocations: 177.2 kB / 1.276 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/1.168, allocations: 484.8 kB / 1.277 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-05/1.168, allocations: 32.22 kB / 1.277 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/1.169, allocations: 1.851 MB / 1.278 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.169, allocations: 0.5625 kB / 1.278 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006103/1.176, allocations: 3.201 MB / 1.282 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.177, allocations: 0.528 MB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/1.178, allocations: 26.44 kB / 1.282 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.179, allocations: 80.97 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.179, allocations: 84.42 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.179, allocations: 44.67 kB / 1.282 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004284/1.184, allocations: 2.338 MB / 1.285 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.184, allocations: 1.031 kB / 1.285 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004259/1.188, allocations: 1.508 MB / 1.286 GB, free: 157.4 MB / 0.9981 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.0014/1.189, allocations: 0.5968 MB / 1.287 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00783/1.197, allocations: 3.974 MB / 1.291 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.197, allocations: 1.375 kB / 1.291 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.199, allocations: 0.8128 MB / 1.291 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006324/1.205, allocations: 1.447 MB / 1.293 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/1.215, allocations: 6.017 MB / 1.299 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.216, allocations: 2.241 MB / 1.301 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003435/1.22, allocations: 0.8405 MB / 1.302 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000558/1.22, allocations: 244.2 kB / 1.302 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.22, allocations: 0 / 1.302 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.08522/1.306, allocations: 62.46 MB / 1.363 GB, free: 91.41 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches