Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_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_9_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.001093/0.001093, allocations: 92.62 kB / 16.02 MB, free: 80 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.00181/0.001811, allocations: 175.1 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.27 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.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7224/0.7229, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07062/0.7935, allocations: 70.52 MB / 1.025 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02817/0.8217, allocations: 16.9 MB / 1.041 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.8256, allocations: 83.44 kB / 1.041 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.829, allocations: 0.8608 MB / 1.042 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009596/0.8386, allocations: 2.186 MB / 1.044 GB, free: 4.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.8457, allocations: 1.865 MB / 1.046 GB, free: 2.707 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01356/0.8593, allocations: 10.61 MB / 1.056 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00887/0.8682, allocations: 5.568 MB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00755/0.8758, allocations: 2.792 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005285/0.8811, allocations: 2.415 MB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.8822, allocations: 124 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.8865, allocations: 1.229 MB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.888, allocations: 0.6142 MB / 1.069 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.8922, allocations: 1.618 MB / 1.07 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005859/0.8981, allocations: 3.476 MB / 1.074 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8981, allocations: 0 / 1.074 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.308e-06/0.8981, allocations: 0 / 1.074 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000198/0.8983, allocations: 3.938 kB / 1.074 GB, free: 6.121 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.009121/0.9074, allocations: 3.804 MB / 1.077 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.9075, allocations: 12.03 kB / 1.077 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.9111, allocations: 0.6633 MB / 1.078 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007199/0.9183, allocations: 2.69 MB / 1.081 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.9186, allocations: 135.8 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008353/0.9194, allocations: 184 kB / 1.081 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/0.9257, allocations: 2.35 MB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.9258, allocations: 7.938 kB / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/0.9261, allocations: 71.94 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.9262, allocations: 40 kB / 1.083 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.9309, allocations: 1.947 MB / 1.085 GB, free: 9.93 MB / 0.8419 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.01922/0.9501, allocations: 11.72 MB / 1.097 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.9535, allocations: 1.413 MB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.9554, allocations: 1.044 MB / 1.099 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007743/0.9632, allocations: 3.767 MB / 1.103 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001702/0.9649, allocations: 0.8208 MB / 1.104 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002102/0.9671, allocations: 446.6 kB / 1.104 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=96): time 6.222e-06/0.9671, allocations: 0 / 1.104 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96): time 0.01318/0.9803, allocations: 4.254 MB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.9804, allocations: 72.34 kB / 1.108 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00574/0.9861, allocations: 2.856 MB / 1.111 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002995/0.9865, allocations: 53.7 kB / 1.111 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001718/0.9882, allocations: 1.435 MB / 1.113 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.9887, allocations: 335.2 kB / 1.113 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.989, allocations: 129.6 kB / 1.113 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.9892, allocations: 309 kB / 1.113 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.9907, allocations: 0.6871 MB / 1.114 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.9928, allocations: 1.438 MB / 1.115 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/0.9963, allocations: 1.932 MB / 1.117 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/0.9963, allocations: 4 kB / 1.117 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006793/1.003, allocations: 2.867 MB / 1.12 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/1.004, allocations: 0.5339 MB / 1.121 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/1.004, allocations: 19.94 kB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.006, allocations: 0.6997 MB / 1.121 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.008, allocations: 289.4 kB / 1.122 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.01, allocations: 1.905 MB / 1.123 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/1.012, allocations: 184.8 kB / 1.124 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.013, allocations: 83.91 kB / 1.124 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.013, allocations: 5.719 kB / 1.124 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00474/1.017, allocations: 2.398 MB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/1.017, allocations: 16.22 kB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/1.018, allocations: 472.9 kB / 1.126 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/1.02, allocations: 289.4 kB / 1.127 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/1.027, allocations: 5.861 MB / 1.132 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/1.03, allocations: 192.8 kB / 1.133 GB, free: 7.293 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.03, allocations: 67.98 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.002/1.032, allocations: 0.8294 MB / 1.134 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/1.033, allocations: 296.2 kB / 1.134 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005611/1.038, allocations: 2.343 MB / 1.136 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/1.038, allocations: 12 kB / 1.136 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.038, allocations: 0 / 1.136 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003663/1.042, allocations: 2.061 MB / 1.138 GB, free: 1.582 MB / 0.8887 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.009581/1.052, allocations: 4.421 MB / 1.142 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/1.052, allocations: 4.031 kB / 1.142 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/1.053, allocations: 149.7 kB / 1.143 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/1.054, allocations: 481.1 kB / 1.143 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.113e-05/1.054, allocations: 31.98 kB / 1.143 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/1.056, allocations: 1.857 MB / 1.145 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.056, allocations: 4.125 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/1.062, allocations: 3.131 MB / 1.148 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.063, allocations: 0.5011 MB / 1.148 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006948/1.064, allocations: 23.92 kB / 1.148 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/1.066, allocations: 159.8 kB / 1.149 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.066, allocations: 64.91 kB / 1.149 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.066, allocations: 35.98 kB / 1.149 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003726/1.07, allocations: 1.959 MB / 1.151 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.1e-07/1.07, allocations: 4 kB / 1.151 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005136/1.075, allocations: 1.353 MB / 1.152 GB, free: 3.23 MB / 0.9044 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 (58): * Single equations (assignments): 50 * 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.001424/1.077, allocations: 459.7 kB / 1.152 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006608/1.083, allocations: 3.193 MB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.083, allocations: 7.938 kB / 1.156 GB, free: 15.53 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/1.085, allocations: 0.7764 MB / 1.156 GB, free: 14.76 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006596/1.092, allocations: 1.174 MB / 1.157 GB, free: 13.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.103, allocations: 6.188 MB / 1.163 GB, free: 7.363 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002193/1.105, allocations: 2.029 MB / 1.165 GB, free: 5.305 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/1.106, allocations: 203.4 kB / 1.166 GB, free: 5.105 MB / 0.92 GB Notification: Performance of SimCode: time 1.102e-06/1.106, allocations: 0 / 1.166 GB, free: 5.105 MB / 0.92 GB Notification: Performance of Templates: time 0.1092/1.215, allocations: 73.66 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches