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.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.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.001844/0.001844, allocations: 116.5 kB / 16.37 MB, free: 6.016 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.001949/0.001949, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 62.39 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2483, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.759/1.007, allocations: 175.2 MB / 1.122 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02046/1.028, allocations: 15.54 MB / 1.137 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/1.03, allocations: 31.25 kB / 1.137 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/1.032, allocations: 0.5786 MB / 1.138 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004704/1.037, allocations: 1.496 MB / 1.139 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/1.041, allocations: 1.668 MB / 1.141 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003838/1.045, allocations: 2.749 MB / 1.144 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002931/1.048, allocations: 1.895 MB / 1.146 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/1.052, allocations: 1.361 MB / 1.147 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/1.054, allocations: 1.027 MB / 1.148 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004794/1.054, allocations: 197.9 kB / 1.148 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/1.058, allocations: 1.336 MB / 1.149 GB, free: 18.78 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005156/1.058, allocations: 0.5634 MB / 1.15 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.059, allocations: 1 MB / 1.151 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004382/1.064, allocations: 2.955 MB / 1.154 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.064, allocations: 3 kB / 1.154 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.385e-06/1.064, allocations: 1.062 kB / 1.154 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.788e-05/1.064, allocations: 0 / 1.154 GB, free: 16.77 MB / 0.8731 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.004218/1.068, allocations: 2.28 MB / 1.156 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/1.068, allocations: 10.06 kB / 1.156 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/1.071, allocations: 460.8 kB / 1.157 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/1.073, allocations: 1.136 MB / 1.158 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.073, allocations: 117 kB / 1.158 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/1.074, allocations: 160.1 kB / 1.158 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/1.077, allocations: 1.786 MB / 1.16 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/1.077, allocations: 5.188 kB / 1.16 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/1.077, allocations: 71.12 kB / 1.16 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.077, allocations: 50.22 kB / 1.16 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/1.08, allocations: 1.775 MB / 1.161 GB, free: 13.14 MB / 0.8731 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.009661/1.09, allocations: 5.826 MB / 1.167 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/1.093, allocations: 1.559 MB / 1.169 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009954/1.094, allocations: 0.569 MB / 1.169 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/1.095, allocations: 0.8829 MB / 1.17 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001528/1.096, allocations: 0.7977 MB / 1.171 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=126): time 2.725e-06/1.096, allocations: 1.375 kB / 1.171 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126): time 0.00492/1.101, allocations: 1.884 MB / 1.173 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.101, allocations: 198.5 kB / 1.173 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/1.103, allocations: 0.9846 MB / 1.174 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/1.103, allocations: 53.95 kB / 1.174 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005339/1.103, allocations: 0.6532 MB / 1.175 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/1.104, allocations: 422.3 kB / 1.175 GB, free: 4.527 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.104, allocations: 239.3 kB / 1.175 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.104, allocations: 349 kB / 1.176 GB, free: 4.051 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000884/1.105, allocations: 450.8 kB / 1.176 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.106, allocations: 0.6017 MB / 1.177 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/1.108, allocations: 1.033 MB / 1.178 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.108, allocations: 2.656 kB / 1.178 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003132/1.111, allocations: 1.351 MB / 1.179 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.111, allocations: 8.859 kB / 1.179 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.111, allocations: 2.312 kB / 1.179 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/1.112, allocations: 82.72 kB / 1.179 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.113, allocations: 289 kB / 1.179 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/1.116, allocations: 1.658 MB / 1.181 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.117, allocations: 140.6 kB / 1.181 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.117, allocations: 54.56 kB / 1.181 GB, free: 356 kB / 0.8731 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.0007658/1.118, allocations: 381.4 kB / 1.181 GB, free: 72 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/1.118, allocations: 136.6 kB / 1.182 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/1.122, allocations: 1.611 MB / 1.183 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.122, allocations: 13.56 kB / 1.183 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.122, allocations: 0 / 1.183 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/1.122, allocations: 7.969 kB / 1.183 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/1.127, allocations: 3.154 MB / 1.186 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.127, allocations: 0 / 1.186 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.128, allocations: 266.6 kB / 1.186 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/1.129, allocations: 81.31 kB / 1.187 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/1.129, allocations: 38.06 kB / 1.187 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/1.131, allocations: 1.674 MB / 1.188 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.131, allocations: 0 / 1.188 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/1.135, allocations: 2.174 MB / 1.19 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/1.136, allocations: 394.2 kB / 1.191 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.136, allocations: 35.42 kB / 1.191 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/1.137, allocations: 92.61 kB / 1.191 GB, free: 9.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.137, allocations: 95.7 kB / 1.191 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.137, allocations: 61.95 kB / 1.191 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009719/1.138, allocations: 0.685 MB / 1.192 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/1.138, allocations: 0 / 1.192 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001358/1.14, allocations: 0.5291 MB / 1.192 GB, free: 9.133 MB / 0.8887 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.001625/1.141, allocations: 0.7107 MB / 1.193 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003189/1.144, allocations: 1.276 MB / 1.194 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.144, allocations: 2.844 kB / 1.194 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.146, allocations: 0.7675 MB / 1.195 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/1.149, allocations: 0.5591 MB / 1.195 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006312/1.155, allocations: 2.956 MB / 1.198 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/1.156, allocations: 1.305 MB / 1.2 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001606/1.157, allocations: 437.6 kB / 1.2 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/1.158, allocations: 154.1 kB / 1.2 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of SimCode: time 9.52e-07/1.158, allocations: 0 / 1.2 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of Templates: time 0.04631/1.204, allocations: 26.19 MB / 1.226 GB, free: 15.27 MB / 0.92 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 -s cvode -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/jenkins1/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