Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002206/0.002206, allocations: 195.8 kB / 16.26 MB, free: 6.625 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 / 239.9 MB, free: 4.52 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.374/2.374, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6146, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1799/0.7945, allocations: 164.8 MB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02099/0.8156, allocations: 16.73 MB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.8168, allocations: 27.81 kB / 1.126 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.8184, allocations: 441.4 kB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004139/0.8226, allocations: 1.379 MB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.8258, allocations: 1.191 MB / 1.129 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003784/0.8296, allocations: 2.486 MB / 1.132 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.8325, allocations: 1.944 MB / 1.134 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005597/0.8381, allocations: 1.306 MB / 1.135 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.8398, allocations: 0.9802 MB / 1.136 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006788/0.8405, allocations: 208 kB / 1.136 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.8441, allocations: 1.435 MB / 1.137 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008784/0.845, allocations: 0.5568 MB / 1.138 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.8467, allocations: 1.003 MB / 1.139 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005037/0.8518, allocations: 3.05 MB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8518, allocations: 0 / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8518, allocations: 3.984 kB / 1.142 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.578e-05/0.8519, allocations: 0 / 1.142 GB, free: 11.91 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005947/0.8579, allocations: 2.241 MB / 1.144 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8579, allocations: 8.031 kB / 1.144 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/0.862, allocations: 0.5088 MB / 1.145 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.8641, allocations: 1.086 MB / 1.146 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.8642, allocations: 123.4 kB / 1.146 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/0.8645, allocations: 168 kB / 1.146 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.8686, allocations: 1.843 MB / 1.148 GB, free: 5.773 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.8687, allocations: 7.938 kB / 1.148 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.8689, allocations: 72 kB / 1.148 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.869, allocations: 44 kB / 1.148 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/0.8725, allocations: 1.875 MB / 1.15 GB, free: 3.773 MB / 0.9044 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.008746/0.8812, allocations: 5.164 MB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.8844, allocations: 1.765 MB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.8857, allocations: 0.6554 MB / 1.157 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/0.8866, allocations: 0.8116 MB / 1.158 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0017/0.8883, allocations: 0.8918 MB / 1.159 GB, free: 9.973 MB / 0.92 GB Notification: Performance of pre-optimization done (n=146): time 4.228e-06/0.8883, allocations: 7.938 kB / 1.159 GB, free: 9.965 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.006532/0.8949, allocations: 2.544 MB / 1.161 GB, free: 7.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.895, allocations: 205.2 kB / 1.162 GB, free: 7.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.8964, allocations: 0.8383 MB / 1.162 GB, free: 6.199 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.8966, allocations: 53.7 kB / 1.162 GB, free: 6.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006133/0.8972, allocations: 0.6407 MB / 1.163 GB, free: 5.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.8977, allocations: 489 kB / 1.163 GB, free: 5.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.8981, allocations: 250.8 kB / 1.164 GB, free: 4.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8982, allocations: 357.9 kB / 1.164 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.8993, allocations: 494.3 kB / 1.165 GB, free: 3.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.9005, allocations: 0.6385 MB / 1.165 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/0.9027, allocations: 1.126 MB / 1.166 GB, free: 2.113 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9028, allocations: 0 / 1.166 GB, free: 2.113 MB / 0.92 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003689/0.9065, allocations: 1.554 MB / 1.168 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.9065, allocations: 4 kB / 1.168 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.9065, allocations: 4.094 kB / 1.168 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.9075, allocations: 192.1 kB / 1.168 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.9092, allocations: 343.6 kB / 1.168 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.9159, allocations: 7.271 MB / 1.175 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.9176, allocations: 164.8 kB / 1.176 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.9179, allocations: 59.89 kB / 1.176 GB, free: 7.789 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009584/0.9189, allocations: 379.3 kB / 1.176 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.9193, allocations: 134.4 kB / 1.176 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.9239, allocations: 1.854 MB / 1.178 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.9239, allocations: 16 kB / 1.178 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.9239, allocations: 4 kB / 1.178 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.924, allocations: 7.969 kB / 1.178 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/0.9312, allocations: 3.439 MB / 1.181 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9312, allocations: 0 / 1.181 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.9328, allocations: 311.6 kB / 1.182 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007884/0.9336, allocations: 188.1 kB / 1.182 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.9337, allocations: 39.97 kB / 1.182 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006185/0.9399, allocations: 7.311 MB / 1.189 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.94, allocations: 0 / 1.189 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.9442, allocations: 1.714 MB / 1.191 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/0.9451, allocations: 406.8 kB / 1.191 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/0.9454, allocations: 35.98 kB / 1.191 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.9469, allocations: 117.3 kB / 1.191 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.9472, allocations: 113.1 kB / 1.191 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/0.9474, allocations: 71.89 kB / 1.191 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001005/0.9484, allocations: 0.5862 MB / 1.192 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9484, allocations: 0 / 1.192 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001917/0.9503, allocations: 0.5766 MB / 1.192 GB, free: 5.617 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/0.9523, allocations: 0.7276 MB / 1.193 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005538/0.9579, allocations: 2.312 MB / 1.195 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.9579, allocations: 0.5625 kB / 1.195 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/0.9601, allocations: 1.305 MB / 1.197 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.9625, allocations: 0.4956 MB / 1.197 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.969, allocations: 3.655 MB / 1.201 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009335/0.97, allocations: 1.3 MB / 1.202 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001944/0.9719, allocations: 438.1 kB / 1.202 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.9724, allocations: 147.4 kB / 1.203 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of SimCode: time 1.052e-06/0.9724, allocations: 0 / 1.203 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.04415/1.017, allocations: 26.78 MB / 1.229 GB, free: 0.8047 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches