Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.000821/0.000821, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008654/0.0008654, allocations: 168.7 kB / 15.95 MB, free: 204 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.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 8.75 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2705, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1522/0.4227, allocations: 152.7 MB / 1.207 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.4434, allocations: 15.82 MB / 1.223 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/0.4456, allocations: 27.81 kB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.4475, allocations: 397.2 kB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.4519, allocations: 1.273 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.4547, allocations: 1.008 MB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.4575, allocations: 2.566 MB / 1.228 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.4592, allocations: 1.403 MB / 1.229 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.4608, allocations: 0.9494 MB / 1.23 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008726/0.4617, allocations: 0.7308 MB / 1.231 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.4618, allocations: 44 kB / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.4638, allocations: 0.9085 MB / 1.232 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.4642, allocations: 354.5 kB / 1.232 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003299/0.4645, allocations: 356.7 kB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.4667, allocations: 2.221 MB / 1.235 GB, free: 44 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4667, allocations: 0 / 1.235 GB, free: 44 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4667, allocations: 4 kB / 1.235 GB, free: 40 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.4667, allocations: 0 / 1.235 GB, free: 40 kB / 0.9825 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.003106/0.4698, allocations: 1.905 MB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4699, allocations: 8.031 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.4732, allocations: 0.5128 MB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4747, allocations: 1.051 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4748, allocations: 127.4 kB / 1.238 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.475, allocations: 168 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.478, allocations: 1.835 MB / 1.24 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.4781, allocations: 0 / 1.24 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.4782, allocations: 76 kB / 1.24 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.4783, allocations: 40 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.4814, allocations: 1.867 MB / 1.242 GB, free: 8.293 MB / 0.9981 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.007214/0.4886, allocations: 5.586 MB / 1.247 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.4915, allocations: 1.761 MB / 1.249 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5249/1.016, allocations: 0.6461 MB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009378/1.017, allocations: 0.8066 MB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/1.02, allocations: 0.8889 MB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 6.092e-06/1.02, allocations: 0.8125 kB / 1.251 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.0066/1.026, allocations: 2.571 MB / 1.254 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/1.026, allocations: 205 kB / 1.254 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.028, allocations: 0.8248 MB / 1.255 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/1.028, allocations: 56.08 kB / 1.255 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/1.028, allocations: 0.6433 MB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/1.029, allocations: 489.3 kB / 1.256 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/1.029, allocations: 28.41 kB / 1.256 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/1.029, allocations: 353.7 kB / 1.256 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009548/1.03, allocations: 497.9 kB / 1.257 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/1.031, allocations: 0.6343 MB / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.032, allocations: 0.5495 MB / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.032, allocations: 0 / 1.258 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003225/1.035, allocations: 1.549 MB / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.035, allocations: 11.66 kB / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.035, allocations: 0.5156 kB / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008413/1.036, allocations: 194.4 kB / 1.26 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.038, allocations: 334.8 kB / 1.26 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/1.042, allocations: 6.775 MB / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.043, allocations: 185.1 kB / 1.267 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.043, allocations: 53.97 kB / 1.267 GB, free: 179.7 MB / 0.9981 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 ($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 (156): * Single equations (assignments): 151 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008516/1.044, allocations: 386 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/1.044, allocations: 128.3 kB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/1.049, allocations: 1.851 MB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.049, allocations: 14.97 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.049, allocations: 5.859 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.278e-05/1.049, allocations: 14.48 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/1.056, allocations: 3.438 MB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.056, allocations: 4.031 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.057, allocations: 313.2 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/1.058, allocations: 191.1 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.058, allocations: 40.3 kB / 1.273 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/1.062, allocations: 6.806 MB / 1.28 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.062, allocations: 0 / 1.28 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004386/1.067, allocations: 1.707 MB / 1.281 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/1.068, allocations: 418.4 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.068, allocations: 32.45 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.069, allocations: 149.8 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/1.069, allocations: 108.6 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.07, allocations: 72.91 kB / 1.282 GB, free: 172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008732/1.07, allocations: 0.5666 MB / 1.283 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.07, allocations: 0 / 1.283 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00173/1.072, allocations: 0.6054 MB / 1.283 GB, free: 171.7 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001706/1.074, allocations: 0.7234 MB / 1.284 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003141/1.077, allocations: 1.87 MB / 1.286 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.077, allocations: 2.969 kB / 1.286 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.079, allocations: 1.3 MB / 1.287 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/1.081, allocations: 0.4918 MB / 1.288 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/1.087, allocations: 3.5 MB / 1.291 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.088, allocations: 1.301 MB / 1.292 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002015/1.09, allocations: 431.8 kB / 1.293 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/1.091, allocations: 154 kB / 1.293 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/1.091, allocations: 0.6562 kB / 1.293 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03822/1.129, allocations: 25.67 MB / 1.318 GB, free: 151 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches