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.001408/0.001408, allocations: 101.7 kB / 16.27 MB, free: 6.414 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.001449/0.00145, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.328/1.328, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.241/2.241, allocations: 390.3 MB / 0.6653 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.34 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2609, allocations: 140.4 MB / 0.9503 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.6887/0.9497, allocations: 167.1 MB / 1.113 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02042/0.9702, allocations: 16.92 MB / 1.13 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/0.9728, allocations: 28.31 kB / 1.13 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.9746, allocations: 0.5136 MB / 1.13 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.9804, allocations: 1.511 MB / 1.132 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.9843, allocations: 1.305 MB / 1.133 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004102/0.9884, allocations: 2.475 MB / 1.136 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.9911, allocations: 1.936 MB / 1.138 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004179/0.9953, allocations: 1.314 MB / 1.139 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001761/0.9971, allocations: 0.9521 MB / 1.14 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/0.9975, allocations: 207.3 kB / 1.14 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/1.001, allocations: 1.397 MB / 1.141 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005622/1.002, allocations: 0.5542 MB / 1.142 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001247/1.003, allocations: 0.9911 MB / 1.143 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005187/1.008, allocations: 2.982 MB / 1.146 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.008, allocations: 0 / 1.146 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/1.008, allocations: 0 / 1.146 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.758e-05/1.008, allocations: 0 / 1.146 GB, free: 2.902 MB / 0.8575 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.004352/1.013, allocations: 2.25 MB / 1.148 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.013, allocations: 10.44 kB / 1.148 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.016, allocations: 0.5108 MB / 1.148 GB, free: 17.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/1.018, allocations: 1.087 MB / 1.149 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.018, allocations: 129.4 kB / 1.15 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/1.019, allocations: 163.2 kB / 1.15 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/1.022, allocations: 1.847 MB / 1.152 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/1.022, allocations: 1.188 kB / 1.152 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/1.022, allocations: 74.09 kB / 1.152 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/1.022, allocations: 40.72 kB / 1.152 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/1.025, allocations: 1.883 MB / 1.154 GB, free: 15.28 MB / 0.8731 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.008091/1.033, allocations: 5.168 MB / 1.159 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/1.036, allocations: 1.774 MB / 1.16 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/1.038, allocations: 0.6463 MB / 1.161 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008881/1.039, allocations: 0.8066 MB / 1.162 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/1.04, allocations: 0.8947 MB / 1.163 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 3.196e-06/1.04, allocations: 0 / 1.163 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006114/1.046, allocations: 2.549 MB / 1.165 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.047, allocations: 197 kB / 1.165 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/1.048, allocations: 0.8408 MB / 1.166 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/1.048, allocations: 59.33 kB / 1.166 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/1.049, allocations: 0.6436 MB / 1.167 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/1.049, allocations: 485.4 kB / 1.167 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/1.049, allocations: 255.2 kB / 1.167 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.049, allocations: 353.5 kB / 1.168 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000955/1.05, allocations: 0.4905 MB / 1.168 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.052, allocations: 0.6392 MB / 1.169 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/1.054, allocations: 1.123 MB / 1.17 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/1.054, allocations: 0 / 1.17 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003463/1.057, allocations: 1.549 MB / 1.172 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.057, allocations: 5.062 kB / 1.172 GB, free: 4.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.057, allocations: 3.938 kB / 1.172 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000894/1.058, allocations: 191.6 kB / 1.172 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.06, allocations: 338.2 kB / 1.172 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/1.065, allocations: 7.292 MB / 1.179 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.067, allocations: 147.1 kB / 1.179 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.067, allocations: 62.67 kB / 1.179 GB, free: 13.18 MB / 0.8887 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.0008801/1.068, allocations: 377.1 kB / 1.18 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.068, allocations: 134.5 kB / 1.18 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/1.072, allocations: 1.845 MB / 1.182 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/1.072, allocations: 20.09 kB / 1.182 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.072, allocations: 2.469 kB / 1.182 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/1.072, allocations: 11.91 kB / 1.182 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/1.079, allocations: 3.436 MB / 1.185 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.079, allocations: 4 kB / 1.185 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.08, allocations: 312 kB / 1.185 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/1.081, allocations: 187.7 kB / 1.186 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.081, allocations: 43.08 kB / 1.186 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/1.087, allocations: 7.324 MB / 1.193 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.087, allocations: 2.094 kB / 1.193 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/1.091, allocations: 1.706 MB / 1.194 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009238/1.092, allocations: 405.7 kB / 1.195 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/1.092, allocations: 27.81 kB / 1.195 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/1.094, allocations: 100.9 kB / 1.195 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/1.094, allocations: 120.3 kB / 1.195 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/1.094, allocations: 70.62 kB / 1.195 GB, free: 468 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009325/1.095, allocations: 0.5766 MB / 1.196 GB, free: 120 kB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/1.095, allocations: 0 / 1.196 GB, free: 120 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00202/1.097, allocations: 0.5805 MB / 1.196 GB, free: 15.95 MB / 0.9044 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.002054/1.099, allocations: 0.7147 MB / 1.197 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005512/1.105, allocations: 2.308 MB / 1.199 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.105, allocations: 7.5 kB / 1.199 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/1.107, allocations: 1.308 MB / 1.2 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/1.11, allocations: 0.5027 MB / 1.201 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/1.117, allocations: 2.977 MB / 1.204 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/1.119, allocations: 1.303 MB / 1.205 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/1.119, allocations: 172.3 kB / 1.205 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/1.119, allocations: 0 / 1.205 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.06522/1.185, allocations: 57.22 MB / 1.261 GB, free: 5.457 MB / 0.9512 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/jenkins1/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