Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_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_10_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.0008027/0.0008028, allocations: 97.33 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.005198/0.005198, allocations: 172.2 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.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7225, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2342/0.9568, allocations: 163.8 MB / 1.183 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0236/0.9804, allocations: 16.87 MB / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.982, allocations: 27.81 kB / 1.199 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.9836, allocations: 465.1 kB / 1.2 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004547/0.9882, allocations: 1.452 MB / 1.201 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.9916, allocations: 1.166 MB / 1.202 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.9951, allocations: 2.848 MB / 1.205 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.998, allocations: 1.62 MB / 1.207 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005313/1.003, allocations: 1.033 MB / 1.208 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/1.005, allocations: 0.7616 MB / 1.209 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003264/1.005, allocations: 40 kB / 1.209 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/1.008, allocations: 1.396 MB / 1.21 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005611/1.009, allocations: 358.4 kB / 1.21 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/1.01, allocations: 0.8405 MB / 1.211 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004279/1.014, allocations: 2.932 MB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.014, allocations: 3.938 kB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/1.014, allocations: 0 / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.727e-05/1.014, allocations: 0 / 1.214 GB, free: 11.56 MB / 0.9669 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.00406/1.018, allocations: 1.894 MB / 1.216 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.018, allocations: 8.031 kB / 1.216 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/1.022, allocations: 0.5206 MB / 1.216 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/1.024, allocations: 1.074 MB / 1.217 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/1.025, allocations: 127.4 kB / 1.218 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/1.025, allocations: 164 kB / 1.218 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003333/1.028, allocations: 1.851 MB / 1.219 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/1.028, allocations: 3.938 kB / 1.219 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/1.028, allocations: 76 kB / 1.22 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-05/1.028, allocations: 40 kB / 1.22 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/1.032, allocations: 1.89 MB / 1.221 GB, free: 3.75 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.008056/1.04, allocations: 5.585 MB / 1.227 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/1.043, allocations: 1.769 MB / 1.229 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.044, allocations: 0.6593 MB / 1.229 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008735/1.045, allocations: 0.8078 MB / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.047, allocations: 0.9014 MB / 1.231 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 4.328e-06/1.047, allocations: 3.984 kB / 1.231 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006297/1.053, allocations: 2.579 MB / 1.233 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.053, allocations: 205.2 kB / 1.234 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/1.054, allocations: 0.8268 MB / 1.234 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/1.054, allocations: 57.7 kB / 1.235 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/1.055, allocations: 0.6368 MB / 1.235 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.055, allocations: 488.9 kB / 1.236 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/1.056, allocations: 109.7 kB / 1.236 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.056, allocations: 357.9 kB / 1.236 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.057, allocations: 498.3 kB / 1.237 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/1.058, allocations: 0.6463 MB / 1.237 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/1.06, allocations: 1.122 MB / 1.238 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.06, allocations: 4 kB / 1.238 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00383/1.064, allocations: 1.558 MB / 1.24 GB, free: 88 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.064, allocations: 4 kB / 1.24 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.064, allocations: 4 kB / 1.24 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/1.065, allocations: 192.3 kB / 1.24 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.067, allocations: 339.6 kB / 1.24 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/1.074, allocations: 6.79 MB / 1.247 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/1.075, allocations: 195.3 kB / 1.247 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/1.076, allocations: 51.97 kB / 1.247 GB, free: 7.84 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 (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.0008498/1.077, allocations: 382.1 kB / 1.248 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/1.077, allocations: 134.4 kB / 1.248 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004301/1.081, allocations: 1.846 MB / 1.249 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.081, allocations: 16 kB / 1.249 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.081, allocations: 4 kB / 1.249 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.081, allocations: 7.969 kB / 1.249 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/1.088, allocations: 3.443 MB / 1.253 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.088, allocations: 3.984 kB / 1.253 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.089, allocations: 319.5 kB / 1.253 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008663/1.09, allocations: 196.1 kB / 1.253 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/1.09, allocations: 43.95 kB / 1.253 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5488/1.639, allocations: 6.794 MB / 1.26 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.639, allocations: 1.172 kB / 1.26 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/1.644, allocations: 1.718 MB / 1.262 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009119/1.645, allocations: 417.5 kB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/1.645, allocations: 28.88 kB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.646, allocations: 147.1 kB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.646, allocations: 114.3 kB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.647, allocations: 73.33 kB / 1.262 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009667/1.648, allocations: 0.5816 MB / 1.263 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.648, allocations: 3.938 kB / 1.263 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001863/1.65, allocations: 0.6034 MB / 1.264 GB, free: 221.2 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 (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.001809/1.651, allocations: 0.7297 MB / 1.264 GB, free: 221 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004225/1.656, allocations: 1.876 MB / 1.266 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.656, allocations: 2.719 kB / 1.266 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/1.658, allocations: 1.311 MB / 1.267 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.661, allocations: 493 kB / 1.268 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007084/1.668, allocations: 3.564 MB / 1.271 GB, free: 217 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.669, allocations: 1.3 MB / 1.273 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002167/1.671, allocations: 438.7 kB / 1.273 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/1.672, allocations: 151.5 kB / 1.273 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.672, allocations: 0 / 1.273 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04276/1.715, allocations: 26.48 MB / 1.299 GB, free: 202.8 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches