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.001054/0.001054, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007838/0.007838, allocations: 170.1 kB / 16.27 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.439/2.439, allocations: 390.9 MB / 0.6663 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.000348, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6965, allocations: 142.4 MB / 0.955 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2066/0.9031, allocations: 170.6 MB / 1.122 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02379/0.927, allocations: 15.36 MB / 1.137 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.9292, allocations: 23.88 kB / 1.137 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.9315, allocations: 0.4932 MB / 1.137 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005495/0.937, allocations: 1.353 MB / 1.138 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005242/0.9423, allocations: 1.482 MB / 1.14 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005167/0.9475, allocations: 3.172 MB / 1.143 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.9509, allocations: 1.619 MB / 1.145 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005125/0.956, allocations: 1.086 MB / 1.146 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.9579, allocations: 0.8395 MB / 1.146 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.9584, allocations: 48 kB / 1.146 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.962, allocations: 1.341 MB / 1.148 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/0.9628, allocations: 398.3 kB / 1.148 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.9646, allocations: 0.821 MB / 1.149 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005356/0.97, allocations: 2.803 MB / 1.152 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.97, allocations: 0 / 1.152 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.785e-06/0.97, allocations: 0 / 1.152 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001143/0.9702, allocations: 0 / 1.152 GB, free: 5.23 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.005011/0.9752, allocations: 1.898 MB / 1.154 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.9752, allocations: 8.031 kB / 1.154 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.9789, allocations: 473.2 kB / 1.154 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.9815, allocations: 1.109 MB / 1.155 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.9817, allocations: 123.2 kB / 1.155 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004711/0.9822, allocations: 156 kB / 1.155 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/0.9863, allocations: 1.788 MB / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.9864, allocations: 0 / 1.157 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.9865, allocations: 75.98 kB / 1.157 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.614e-05/0.9866, allocations: 44 kB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.9899, allocations: 1.776 MB / 1.159 GB, free: 13.61 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.009593/0.9995, allocations: 5.901 MB / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/1.002, allocations: 1.569 MB / 1.166 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.003, allocations: 0.5699 MB / 1.167 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.004, allocations: 0.8867 MB / 1.168 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/1.006, allocations: 0.8049 MB / 1.168 GB, free: 3.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=126): time 3.246e-06/1.006, allocations: 3.938 kB / 1.168 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=126): time 0.004937/1.011, allocations: 1.902 MB / 1.17 GB, free: 1.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.011, allocations: 200.9 kB / 1.171 GB, free: 1.148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/1.013, allocations: 0.9794 MB / 1.171 GB, free: 156 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/1.013, allocations: 57.69 kB / 1.172 GB, free: 92 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006319/1.013, allocations: 0.6528 MB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003804/1.014, allocations: 417.9 kB / 1.173 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/1.014, allocations: 97.66 kB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.014, allocations: 353.9 kB / 1.173 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009811/1.015, allocations: 454.4 kB / 1.173 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/1.016, allocations: 0.5981 MB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/1.018, allocations: 1.05 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.018, allocations: 0 / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003241/1.021, allocations: 1.363 MB / 1.176 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/1.021, allocations: 4 kB / 1.176 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.021, allocations: 4.156 kB / 1.176 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/1.022, allocations: 84.78 kB / 1.176 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.024, allocations: 299.6 kB / 1.177 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/1.026, allocations: 1.547 MB / 1.178 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.027, allocations: 160.6 kB / 1.178 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/1.028, allocations: 55.97 kB / 1.178 GB, free: 8.75 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.001032/1.029, allocations: 387.2 kB / 1.179 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/1.029, allocations: 138.3 kB / 1.179 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/1.033, allocations: 1.614 MB / 1.181 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.033, allocations: 12 kB / 1.181 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.033, allocations: 7.938 kB / 1.181 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/1.033, allocations: 7.969 kB / 1.181 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006789/1.04, allocations: 3.157 MB / 1.184 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.04, allocations: 0 / 1.184 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/1.041, allocations: 271.7 kB / 1.184 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005571/1.042, allocations: 88.7 kB / 1.184 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.042, allocations: 43.97 kB / 1.184 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/1.044, allocations: 1.563 MB / 1.186 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.044, allocations: 0 / 1.186 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/1.049, allocations: 2.196 MB / 1.188 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009928/1.05, allocations: 414.9 kB / 1.188 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/1.05, allocations: 24 kB / 1.188 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.052, allocations: 133.7 kB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.052, allocations: 93.17 kB / 1.188 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.052, allocations: 59.95 kB / 1.188 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001407/1.053, allocations: 0.6839 MB / 1.189 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.6e-07/1.053, allocations: 0 / 1.189 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00204/1.055, allocations: 0.5414 MB / 1.19 GB, free: 13.07 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.002099/1.058, allocations: 0.7084 MB / 1.19 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003339/1.061, allocations: 1.283 MB / 1.192 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/1.061, allocations: 448 / 1.192 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/1.063, allocations: 0.7676 MB / 1.192 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/1.066, allocations: 0.5152 MB / 1.193 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008588/1.075, allocations: 3.809 MB / 1.197 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.076, allocations: 1.315 MB / 1.198 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002275/1.078, allocations: 430.8 kB / 1.198 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/1.079, allocations: 155.4 kB / 1.198 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of SimCode: time 1.112e-06/1.079, allocations: 0 / 1.198 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of Templates: time 0.04625/1.125, allocations: 25 MB / 1.223 GB, free: 11.5 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