Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001221/0.001221, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.88 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6844, allocations: 140.3 MB / 0.9489 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1888/0.8732, allocations: 172.9 MB / 1.118 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02308/0.8964, allocations: 15.57 MB / 1.133 GB, free: 5.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.8987, allocations: 31.81 kB / 1.133 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.901, allocations: 0.4894 MB / 1.133 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.9065, allocations: 1.349 MB / 1.135 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005303/0.9119, allocations: 1.48 MB / 1.136 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004728/0.9166, allocations: 3.176 MB / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003292/0.9199, allocations: 1.738 MB / 1.141 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005262/0.9252, allocations: 1.212 MB / 1.142 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.9272, allocations: 1.003 MB / 1.143 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004342/0.9276, allocations: 104 kB / 1.143 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.9309, allocations: 1.396 MB / 1.145 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.9314, allocations: 490.2 kB / 1.145 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.9327, allocations: 0.9169 MB / 1.146 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003941/0.9366, allocations: 2.886 MB / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9366, allocations: 0 / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.31e-07/0.9366, allocations: 0 / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.716e-05/0.9367, allocations: 0 / 1.149 GB, free: 4.848 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004945/0.9417, allocations: 2.279 MB / 1.151 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9417, allocations: 8.031 kB / 1.151 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/0.9449, allocations: 457.2 kB / 1.152 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.9468, allocations: 1.109 MB / 1.153 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.9469, allocations: 127.1 kB / 1.153 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.9471, allocations: 156 kB / 1.153 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.9504, allocations: 1.785 MB / 1.155 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.9504, allocations: 4 kB / 1.155 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.9506, allocations: 72 kB / 1.155 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.9507, allocations: 47.98 kB / 1.155 GB, free: 14.63 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.9538, allocations: 1.768 MB / 1.156 GB, free: 12.86 MB / 0.92 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.00898/0.9627, allocations: 5.856 MB / 1.162 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.9655, allocations: 1.561 MB / 1.164 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009925/0.9665, allocations: 0.5737 MB / 1.164 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/0.9675, allocations: 0.8867 MB / 1.165 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.9689, allocations: 0.8011 MB / 1.166 GB, free: 2.625 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 3.056e-06/0.969, allocations: 4 kB / 1.166 GB, free: 2.621 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.005125/0.9741, allocations: 1.883 MB / 1.168 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.9742, allocations: 196.9 kB / 1.168 GB, free: 492 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.9758, allocations: 0.9833 MB / 1.169 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.976, allocations: 49.7 kB / 1.169 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006668/0.9766, allocations: 0.6567 MB / 1.17 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.9771, allocations: 421.9 kB / 1.17 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.9775, allocations: 234.7 kB / 1.17 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9776, allocations: 345.9 kB / 1.171 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.9785, allocations: 454.4 kB / 1.171 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009956/0.9795, allocations: 0.6019 MB / 1.172 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001888/0.9814, allocations: 1.038 MB / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.9814, allocations: 0 / 1.173 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002935/0.9844, allocations: 1.351 MB / 1.174 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.9844, allocations: 7.984 kB / 1.174 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9844, allocations: 4 kB / 1.174 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.985, allocations: 88.88 kB / 1.174 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.9864, allocations: 287.6 kB / 1.174 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.9884, allocations: 1.539 MB / 1.176 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.9897, allocations: 162.9 kB / 1.176 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.9898, allocations: 51.95 kB / 1.176 GB, free: 7.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007144/0.9905, allocations: 384.4 kB / 1.176 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.9908, allocations: 134.4 kB / 1.176 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.9941, allocations: 1.606 MB / 1.178 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9942, allocations: 20 kB / 1.178 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.9942, allocations: 0 / 1.178 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.9942, allocations: 7.969 kB / 1.178 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005085/0.9993, allocations: 3.161 MB / 1.181 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.9993, allocations: 4 kB / 1.181 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/1.001, allocations: 267.6 kB / 1.181 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/1.001, allocations: 88.77 kB / 1.181 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.144e-05/1.001, allocations: 31.97 kB / 1.182 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.003, allocations: 1.555 MB / 1.183 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.003, allocations: 8.094 kB / 1.183 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/1.007, allocations: 2.18 MB / 1.185 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/1.008, allocations: 394.9 kB / 1.186 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/1.008, allocations: 28 kB / 1.186 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.009, allocations: 114.1 kB / 1.186 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.01, allocations: 93.17 kB / 1.186 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.01, allocations: 63.95 kB / 1.186 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009282/1.011, allocations: 0.6839 MB / 1.187 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/1.011, allocations: 0 / 1.187 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001362/1.012, allocations: 0.5374 MB / 1.187 GB, free: 12.38 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/1.014, allocations: 0.7065 MB / 1.188 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002714/1.016, allocations: 1.271 MB / 1.189 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.016, allocations: 0.875 kB / 1.189 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.018, allocations: 0.7635 MB / 1.19 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.02, allocations: 0.5218 MB / 1.19 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/1.026, allocations: 3.698 MB / 1.194 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/1.027, allocations: 1.303 MB / 1.195 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001724/1.029, allocations: 434.8 kB / 1.196 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/1.029, allocations: 147.4 kB / 1.196 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of SimCode: time 6.91e-07/1.029, allocations: 0 / 1.196 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.04619/1.075, allocations: 25.17 MB / 1.22 GB, free: 10.79 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches