Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008342/0.0008341, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008447/0.0008447, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 0.8153 GB, free: 13.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7171, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.05503/0.7722, allocations: 30.07 MB / 0.9838 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02725/0.7995, allocations: 9.78 MB / 0.9933 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/0.8018, allocations: 43.69 kB / 0.9934 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.8049, allocations: 489.1 kB / 0.9939 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007027/0.8119, allocations: 1.29 MB / 0.9951 GB, free: 5.781 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006115/0.8181, allocations: 1.077 MB / 0.9962 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.8306, allocations: 5.523 MB / 1.002 GB, free: 15.17 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004128/0.8347, allocations: 1.605 MB / 1.003 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00571/0.8405, allocations: 1.568 MB / 1.005 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.8446, allocations: 1.291 MB / 1.006 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.845, allocations: 68 kB / 1.006 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.8492, allocations: 0.8932 MB / 1.007 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0007484/0.85, allocations: 378.3 kB / 1.007 GB, free: 9.344 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.8511, allocations: 400.6 kB / 1.008 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.8555, allocations: 2.17 MB / 1.01 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.8555, allocations: 0 / 1.01 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8555, allocations: 3.938 kB / 1.01 GB, free: 6.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.586e-05/0.8556, allocations: 0 / 1.01 GB, free: 6.77 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006609/0.8622, allocations: 2.096 MB / 1.012 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.8623, allocations: 8.031 kB / 1.012 GB, free: 4.598 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.8653, allocations: 409.1 kB / 1.012 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00588/0.8712, allocations: 1.649 MB / 1.014 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.8714, allocations: 90 kB / 1.014 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/0.8717, allocations: 104 kB / 1.014 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.8762, allocations: 1.369 MB / 1.015 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.8763, allocations: 3.938 kB / 1.015 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.8764, allocations: 40 kB / 1.015 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.8765, allocations: 27.95 kB / 1.015 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004798/0.8813, allocations: 1.155 MB / 1.016 GB, free: 15.64 MB / 0.7794 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.01606/0.8974, allocations: 7.071 MB / 1.023 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/0.9005, allocations: 0.7033 MB / 1.024 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001797/0.9023, allocations: 463.5 kB / 1.025 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006047/0.9084, allocations: 1.859 MB / 1.026 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/0.9102, allocations: 449 kB / 1.027 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001274/0.9115, allocations: 103.3 kB / 1.027 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 5.611e-06/0.9116, allocations: 0 / 1.027 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46): time 0.007831/0.9194, allocations: 1.62 MB / 1.028 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.9195, allocations: 55.41 kB / 1.029 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/0.9239, allocations: 1.859 MB / 1.03 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.9241, allocations: 37.7 kB / 1.03 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.9255, allocations: 0.8582 MB / 1.031 GB, free: 15.83 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.9259, allocations: 165.7 kB / 1.031 GB, free: 15.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.9259, allocations: 20 kB / 1.031 GB, free: 15.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.9262, allocations: 334 kB / 1.032 GB, free: 15.31 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.9277, allocations: 349.8 kB / 1.032 GB, free: 14.97 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.9297, allocations: 0.8112 MB / 1.033 GB, free: 13.95 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.9312, allocations: 490.2 kB / 1.033 GB, free: 13.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.9312, allocations: 4 kB / 1.033 GB, free: 13.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005351/0.9366, allocations: 1.41 MB / 1.035 GB, free: 12.03 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004815/0.9371, allocations: 431.3 kB / 1.035 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.9372, allocations: 8 kB / 1.035 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.9386, allocations: 212.6 kB / 1.035 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9399, allocations: 195.7 kB / 1.035 GB, free: 11.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.9413, allocations: 0.8371 MB / 1.036 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.9442, allocations: 136.6 kB / 1.036 GB, free: 10.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.9444, allocations: 51.97 kB / 1.036 GB, free: 10 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.9444, allocations: 7.953 kB / 1.036 GB, free: 9.996 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00378/0.9482, allocations: 1.09 MB / 1.038 GB, free: 8.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.9483, allocations: 12 kB / 1.038 GB, free: 8.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000707/0.949, allocations: 156.7 kB / 1.038 GB, free: 8.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.9502, allocations: 172 kB / 1.038 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.9548, allocations: 2.369 MB / 1.04 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.9577, allocations: 120.6 kB / 1.04 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.9579, allocations: 47.98 kB / 1.04 GB, free: 5.895 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001979/0.9599, allocations: 0.5864 MB / 1.041 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007573/0.9607, allocations: 173.8 kB / 1.041 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.9651, allocations: 1.136 MB / 1.042 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.9651, allocations: 8 kB / 1.042 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9651, allocations: 0 / 1.042 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003189/0.9683, allocations: 1.093 MB / 1.043 GB, free: 2.805 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.008395/0.9767, allocations: 2.41 MB / 1.046 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.9768, allocations: 0 / 1.046 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/0.9777, allocations: 111.9 kB / 1.046 GB, free: 204 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005094/0.9782, allocations: 136.7 kB / 1.046 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/0.9783, allocations: 11.98 kB / 1.046 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.9794, allocations: 0.8156 MB / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9794, allocations: 0 / 1.047 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.9843, allocations: 1.581 MB / 1.048 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.9858, allocations: 346.7 kB / 1.049 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.9861, allocations: 24.02 kB / 1.049 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.9876, allocations: 119.7 kB / 1.049 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.9878, allocations: 36.38 kB / 1.049 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-05/0.9879, allocations: 23.98 kB / 1.049 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002913/0.9908, allocations: 1.274 MB / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9908, allocations: 0 / 1.05 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003986/0.9948, allocations: 0.8502 MB / 1.051 GB, free: 10.89 MB / 0.8106 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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.9961, allocations: 372.2 kB / 1.051 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004829/1.001, allocations: 1.629 MB / 1.053 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.001, allocations: 1.375 kB / 1.053 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.002, allocations: 406.4 kB / 1.053 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006142/1.008, allocations: 0.8351 MB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/1.017, allocations: 3.506 MB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/1.018, allocations: 1.492 MB / 1.059 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002762/1.021, allocations: 426.2 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/1.021, allocations: 131.4 kB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of SimCode: time 2.063e-06/1.021, allocations: 0 / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.0693/1.091, allocations: 32.29 MB / 1.091 GB, free: 2.148 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches