Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008326/0.008326, allocations: 100.6 kB / 15.73 MB, free: 5.98 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.001669/0.001669, allocations: 201.7 kB / 16.68 MB, free: 5.906 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 60.11 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7626, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03099/0.7936, allocations: 33.19 MB / 1.24 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.8121, allocations: 12.31 MB / 1.252 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.8143, allocations: 51.69 kB / 1.252 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/0.8188, allocations: 1.536 MB / 1.254 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.8236, allocations: 1.734 MB / 1.255 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.8273, allocations: 1.503 MB / 1.257 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01096/0.8383, allocations: 7.792 MB / 1.264 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.8413, allocations: 2.121 MB / 1.267 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.8454, allocations: 1.937 MB / 1.268 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002471/0.8479, allocations: 1.435 MB / 1.27 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/0.8482, allocations: 152 kB / 1.27 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.8513, allocations: 1.349 MB / 1.271 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006414/0.8519, allocations: 0.6033 MB / 1.272 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.8534, allocations: 1.205 MB / 1.273 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.8579, allocations: 3.528 MB / 1.277 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.8579, allocations: 0 / 1.277 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8579, allocations: 0 / 1.277 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.663e-05/0.8579, allocations: 0 / 1.277 GB, free: 6.895 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004562/0.8625, allocations: 2.823 MB / 1.279 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8626, allocations: 8.031 kB / 1.279 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.8645, allocations: 432.6 kB / 1.28 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004618/0.8691, allocations: 2.751 MB / 1.282 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.8692, allocations: 78 kB / 1.282 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.8694, allocations: 116 kB / 1.283 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.8715, allocations: 1.322 MB / 1.284 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.8716, allocations: 0 / 1.284 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.8717, allocations: 40 kB / 1.284 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.8717, allocations: 27.98 kB / 1.284 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.8738, allocations: 1.026 MB / 1.285 GB, free: 14.05 MB / 1.014 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.007855/0.8816, allocations: 6.909 MB / 1.292 GB, free: 6.711 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.883, allocations: 0.59 MB / 1.292 GB, free: 6.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007396/0.8837, allocations: 395.4 kB / 1.293 GB, free: 5.727 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/0.8865, allocations: 1.763 MB / 1.294 GB, free: 3.824 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007737/0.8873, allocations: 362.9 kB / 1.295 GB, free: 3.457 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004555/0.8878, allocations: 95.19 kB / 1.295 GB, free: 3.363 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 2.235e-06/0.8878, allocations: 0 / 1.295 GB, free: 3.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.003551/0.8914, allocations: 1.363 MB / 1.296 GB, free: 1.969 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.8914, allocations: 59.41 kB / 1.296 GB, free: 1.898 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002831/0.8943, allocations: 2.384 MB / 1.298 GB, free: 15.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.8943, allocations: 41.7 kB / 1.299 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.8951, allocations: 0.9958 MB / 1.299 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.8953, allocations: 161.8 kB / 1.3 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.8956, allocations: 290.6 kB / 1.3 GB, free: 13.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8958, allocations: 361.9 kB / 1.3 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008846/0.8966, allocations: 0.4979 MB / 1.301 GB, free: 13.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.8978, allocations: 0.997 MB / 1.302 GB, free: 11.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.8998, allocations: 1.335 MB / 1.303 GB, free: 10.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8998, allocations: 4 kB / 1.303 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003381/0.9032, allocations: 1.795 MB / 1.305 GB, free: 8.613 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.9032, allocations: 45.64 kB / 1.305 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.9033, allocations: 12 kB / 1.305 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/0.9039, allocations: 185.4 kB / 1.305 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008154/0.9048, allocations: 223.6 kB / 1.305 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006891/0.9055, allocations: 0.7592 MB / 1.306 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.9068, allocations: 75.89 kB / 1.306 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.9069, allocations: 59.97 kB / 1.306 GB, free: 7.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001688/0.9086, allocations: 1.029 MB / 1.307 GB, free: 6.195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001087/0.9097, allocations: 0.9658 MB / 1.308 GB, free: 5.012 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001725/0.9115, allocations: 1.307 MB / 1.309 GB, free: 3.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.9115, allocations: 4 kB / 1.309 GB, free: 3.539 MB / 1.029 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002915/0.9144, allocations: 1.797 MB / 1.311 GB, free: 1.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.9144, allocations: 41.69 kB / 1.311 GB, free: 1.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9145, allocations: 8 kB / 1.311 GB, free: 1.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.9147, allocations: 125.5 kB / 1.311 GB, free: 1.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.9155, allocations: 223.6 kB / 1.311 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.9177, allocations: 2.336 MB / 1.314 GB, free: 14.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.9191, allocations: 87.8 kB / 1.314 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/0.9192, allocations: 51.98 kB / 1.314 GB, free: 14.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000362/0.9196, allocations: 256 kB / 1.314 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/0.9199, allocations: 213.2 kB / 1.314 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.9222, allocations: 1.018 MB / 1.315 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.9223, allocations: 11.98 kB / 1.315 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.9223, allocations: 4 kB / 1.315 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/0.9239, allocations: 0.9584 MB / 1.316 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/0.9281, allocations: 2.319 MB / 1.319 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9281, allocations: 0 / 1.319 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.9286, allocations: 91.98 kB / 1.319 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002925/0.9289, allocations: 124.8 kB / 1.319 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.929, allocations: 16.05 kB / 1.319 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005591/0.9295, allocations: 0.7466 MB / 1.319 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9296, allocations: 32 / 1.319 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.9322, allocations: 1.413 MB / 1.321 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000771/0.933, allocations: 358.3 kB / 1.321 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.9333, allocations: 12 kB / 1.321 GB, free: 6.93 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/0.9342, allocations: 39.95 kB / 1.321 GB, free: 6.891 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.9343, allocations: 40.44 kB / 1.321 GB, free: 6.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.107e-05/0.9344, allocations: 27.98 kB / 1.321 GB, free: 6.824 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002715/0.9371, allocations: 1.627 MB / 1.323 GB, free: 5.188 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9371, allocations: 0 / 1.323 GB, free: 5.188 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002852/0.94, allocations: 0.9516 MB / 1.324 GB, free: 4.234 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.9413, allocations: 0.5035 MB / 1.324 GB, free: 3.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003716/0.945, allocations: 2.019 MB / 1.326 GB, free: 1.684 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.9451, allocations: 4.188 kB / 1.326 GB, free: 1.68 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.9459, allocations: 342.3 kB / 1.327 GB, free: 1.344 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004442/0.9503, allocations: 0.9873 MB / 1.328 GB, free: 384 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008036/0.9584, allocations: 3.64 MB / 1.331 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/0.9605, allocations: 1.677 MB / 1.333 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002431/0.963, allocations: 0.571 MB / 1.333 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006041/0.9636, allocations: 159.4 kB / 1.334 GB, free: 10.25 MB / 1.061 GB Notification: Performance of SimCode: time 1.473e-06/0.9636, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Templates: time 0.0778/1.041, allocations: 40.33 MB / 1.373 GB, free: 2.438 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches