Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001053/0.001053, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001327/0.001327, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.8 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003248, allocations: 8 kB / 0.8722 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6004, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1623/0.7627, allocations: 160 MB / 1.179 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01856/0.7813, allocations: 14.51 MB / 1.193 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.7828, allocations: 27.81 kB / 1.193 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.7842, allocations: 433 kB / 1.193 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.7878, allocations: 1.244 MB / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.7914, allocations: 1.25 MB / 1.196 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.7949, allocations: 2.944 MB / 1.199 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.7969, allocations: 1.354 MB / 1.2 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.7987, allocations: 1.027 MB / 1.201 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.7998, allocations: 0.836 MB / 1.202 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.7999, allocations: 48 kB / 1.202 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.8019, allocations: 0.8345 MB / 1.203 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/0.8023, allocations: 390.4 kB / 1.203 GB, free: 6.609 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.8026, allocations: 364.7 kB / 1.203 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.8049, allocations: 2.155 MB / 1.205 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8049, allocations: 4 kB / 1.205 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8049, allocations: 0 / 1.205 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.805, allocations: 0 / 1.205 GB, free: 4.082 MB / 0.9512 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.003302/0.8083, allocations: 1.94 MB / 1.207 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.8083, allocations: 12.03 kB / 1.207 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.8112, allocations: 477.1 kB / 1.208 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.8127, allocations: 1.059 MB / 1.209 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.8128, allocations: 123.2 kB / 1.209 GB, free: 384 kB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.813, allocations: 160 kB / 1.209 GB, free: 224 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.816, allocations: 1.776 MB / 1.211 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.816, allocations: 0 / 1.211 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.8162, allocations: 75.95 kB / 1.211 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.8162, allocations: 51.97 kB / 1.211 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.8192, allocations: 1.768 MB / 1.213 GB, free: 12.46 MB / 0.9669 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.007827/0.827, allocations: 6.204 MB / 1.219 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.8296, allocations: 1.559 MB / 1.22 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.8306, allocations: 0.5621 MB / 1.221 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/0.8314, allocations: 0.8867 MB / 1.222 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.8328, allocations: 0.8011 MB / 1.222 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=126): time 3.045e-06/0.8328, allocations: 0 / 1.222 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=126): time 0.004418/0.8373, allocations: 1.883 MB / 1.224 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.003e-05/0.8374, allocations: 196.9 kB / 1.224 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.8386, allocations: 0.9795 MB / 1.225 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.722e-05/0.8387, allocations: 53.7 kB / 1.225 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.8392, allocations: 0.6605 MB / 1.226 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.8395, allocations: 421.9 kB / 1.227 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.8396, allocations: 24 kB / 1.227 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8398, allocations: 349.9 kB / 1.227 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.8406, allocations: 446.4 kB / 1.227 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.8417, allocations: 0.5981 MB / 1.228 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.8426, allocations: 0.5022 MB / 1.228 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8427, allocations: 0 / 1.228 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002767/0.8454, allocations: 1.351 MB / 1.23 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.8455, allocations: 11.94 kB / 1.23 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8455, allocations: 4 kB / 1.23 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.846, allocations: 84.94 kB / 1.23 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.8474, allocations: 299.6 kB / 1.23 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.8493, allocations: 1.55 MB / 1.232 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.8505, allocations: 178.7 kB / 1.232 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.8506, allocations: 47.97 kB / 1.232 GB, free: 7.918 MB / 0.9825 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006654/0.8513, allocations: 383.3 kB / 1.232 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.8515, allocations: 138.4 kB / 1.232 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.855, allocations: 1.614 MB / 1.234 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.855, allocations: 19.98 kB / 1.234 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.855, allocations: 0 / 1.234 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.855, allocations: 7.969 kB / 1.234 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005038/0.8601, allocations: 3.165 MB / 1.237 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.8601, allocations: 0 / 1.237 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.8613, allocations: 271.7 kB / 1.237 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.8618, allocations: 92.7 kB / 1.237 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-05/0.8619, allocations: 39.97 kB / 1.237 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.8636, allocations: 1.552 MB / 1.239 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8636, allocations: 0 / 1.239 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.8677, allocations: 2.18 MB / 1.241 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006887/0.8684, allocations: 410.9 kB / 1.241 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.8686, allocations: 28 kB / 1.241 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.8698, allocations: 139.8 kB / 1.242 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.8699, allocations: 97.17 kB / 1.242 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.8701, allocations: 59.95 kB / 1.242 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009344/0.871, allocations: 0.6761 MB / 1.242 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.871, allocations: 0 / 1.242 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001348/0.8724, allocations: 0.5493 MB / 1.243 GB, free: 12.25 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001549/0.8739, allocations: 0.7096 MB / 1.244 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.8764, allocations: 1.275 MB / 1.245 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.8765, allocations: 448 / 1.245 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.8778, allocations: 0.7636 MB / 1.246 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.88, allocations: 0.5209 MB / 1.246 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.8856, allocations: 3.576 MB / 1.25 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.8865, allocations: 1.307 MB / 1.251 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001802/0.8883, allocations: 438.7 kB / 1.251 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.8887, allocations: 151.4 kB / 1.251 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/0.8887, allocations: 0 / 1.251 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.4921/1.381, allocations: 24.89 MB / 1.276 GB, free: 221.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches