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.001411/0.001411, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001516/0.001516, allocations: 194 kB / 16.91 MB, free: 6.184 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.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.227/2.227, allocations: 390.3 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 67.73 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7735/1.051, allocations: 172.8 MB / 1.119 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02133/1.073, allocations: 15.37 MB / 1.134 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/1.076, allocations: 27.84 kB / 1.134 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/1.078, allocations: 0.4948 MB / 1.134 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/1.084, allocations: 1.376 MB / 1.135 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005255/1.09, allocations: 1.51 MB / 1.137 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004828/1.094, allocations: 2.745 MB / 1.14 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002947/1.097, allocations: 1.883 MB / 1.141 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/1.103, allocations: 1.371 MB / 1.143 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/1.105, allocations: 1.051 MB / 1.144 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000564/1.106, allocations: 202.6 kB / 1.144 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/1.11, allocations: 1.35 MB / 1.145 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006742/1.111, allocations: 0.5596 MB / 1.146 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.112, allocations: 1.009 MB / 1.147 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003683/1.116, allocations: 2.209 MB / 1.149 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.116, allocations: 3.047 kB / 1.149 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/1.116, allocations: 0 / 1.149 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.744e-05/1.116, allocations: 5.125 kB / 1.149 GB, free: 2.539 MB / 0.8575 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.005064/1.121, allocations: 2.286 MB / 1.151 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.121, allocations: 9.594 kB / 1.151 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/1.125, allocations: 460.1 kB / 1.152 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/1.127, allocations: 1.099 MB / 1.153 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.127, allocations: 120 kB / 1.153 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000246/1.127, allocations: 159.4 kB / 1.153 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/1.13, allocations: 1.785 MB / 1.155 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/1.13, allocations: 6.25 kB / 1.155 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/1.131, allocations: 68.75 kB / 1.155 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/1.131, allocations: 52.56 kB / 1.155 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/1.134, allocations: 1.773 MB / 1.157 GB, free: 14.91 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.009462/1.143, allocations: 5.861 MB / 1.162 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/1.146, allocations: 1.568 MB / 1.164 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009842/1.147, allocations: 0.5611 MB / 1.164 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008965/1.148, allocations: 0.8862 MB / 1.165 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/1.15, allocations: 0.7988 MB / 1.166 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=126): time 3.386e-06/1.15, allocations: 0 / 1.166 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126): time 0.005411/1.155, allocations: 1.89 MB / 1.168 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.155, allocations: 194.3 kB / 1.168 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/1.157, allocations: 0.9829 MB / 1.169 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/1.157, allocations: 54.98 kB / 1.169 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006478/1.158, allocations: 0.6581 MB / 1.17 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/1.158, allocations: 422 kB / 1.17 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/1.159, allocations: 233.6 kB / 1.17 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.159, allocations: 349.5 kB / 1.171 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/1.16, allocations: 449.9 kB / 1.171 GB, free: 6.043 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/1.161, allocations: 0.5963 MB / 1.172 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/1.163, allocations: 1.042 MB / 1.173 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.163, allocations: 0 / 1.173 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003329/1.166, allocations: 1.346 MB / 1.174 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.166, allocations: 6.5 kB / 1.174 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.166, allocations: 4.031 kB / 1.174 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006502/1.167, allocations: 88.09 kB / 1.174 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.168, allocations: 297.6 kB / 1.174 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.17, allocations: 1.648 MB / 1.176 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.172, allocations: 159.4 kB / 1.176 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.172, allocations: 49.36 kB / 1.176 GB, free: 3.047 MB / 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.00104/1.174, allocations: 387 kB / 1.177 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/1.174, allocations: 138.6 kB / 1.177 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003899/1.178, allocations: 1.609 MB / 1.178 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.178, allocations: 20.52 kB / 1.178 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.178, allocations: 4 kB / 1.178 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.178, allocations: 3.984 kB / 1.178 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/1.184, allocations: 3.158 MB / 1.181 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.184, allocations: 0 / 1.181 GB, free: 24 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.186, allocations: 269.6 kB / 1.182 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004766/1.186, allocations: 83.84 kB / 1.182 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/1.186, allocations: 35.34 kB / 1.182 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/1.188, allocations: 1.679 MB / 1.183 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.188, allocations: 4 kB / 1.183 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004599/1.193, allocations: 2.175 MB / 1.186 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.194, allocations: 405 kB / 1.186 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004954/1.195, allocations: 32.03 kB / 1.186 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.197, allocations: 116.2 kB / 1.186 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/1.197, allocations: 97.33 kB / 1.186 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.197, allocations: 57.17 kB / 1.186 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001265/1.198, allocations: 0.6848 MB / 1.187 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.198, allocations: 0 / 1.187 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001993/1.2, allocations: 0.5277 MB / 1.187 GB, free: 12.05 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.002089/1.202, allocations: 0.7043 MB / 1.188 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004437/1.207, allocations: 1.699 MB / 1.19 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/1.207, allocations: 2.219 kB / 1.19 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.208, allocations: 0.7586 MB / 1.19 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.212, allocations: 0.5607 MB / 1.191 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007994/1.22, allocations: 3.754 MB / 1.195 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/1.221, allocations: 1.307 MB / 1.196 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007858/1.222, allocations: 172.3 kB / 1.196 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of SimCode: time 1.273e-06/1.222, allocations: 0 / 1.196 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of Templates: time 0.04845/1.27, allocations: 31.55 MB / 1.227 GB, free: 12.23 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 -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