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.001184/0.001183, allocations: 109.4 kB / 15.99 MB, free: 6.355 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.001255/0.001255, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.283/2.283, allocations: 390.3 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.59 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 140.4 MB / 0.9498 GB, free: 9.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.7076/0.9887, allocations: 164.8 MB / 1.111 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0235/1.012, allocations: 16.73 MB / 1.127 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/1.015, allocations: 28.78 kB / 1.127 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002367/1.017, allocations: 443.7 kB / 1.127 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/1.024, allocations: 1.384 MB / 1.129 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004522/1.028, allocations: 1.189 MB / 1.13 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004719/1.033, allocations: 2.486 MB / 1.132 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003818/1.037, allocations: 1.938 MB / 1.134 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006403/1.043, allocations: 1.315 MB / 1.136 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/1.046, allocations: 0.9826 MB / 1.137 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001053/1.047, allocations: 206.5 kB / 1.137 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/1.052, allocations: 1.434 MB / 1.138 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/1.053, allocations: 0.5565 MB / 1.139 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002688/1.055, allocations: 0.9963 MB / 1.14 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004631/1.06, allocations: 2.277 MB / 1.142 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.06, allocations: 0 / 1.142 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.415e-06/1.06, allocations: 5.406 kB / 1.142 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001363/1.06, allocations: 0 / 1.142 GB, free: 4.387 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.007143/1.067, allocations: 2.252 MB / 1.144 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.068, allocations: 10.12 kB / 1.144 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/1.072, allocations: 0.5059 MB / 1.145 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/1.075, allocations: 1.091 MB / 1.146 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/1.075, allocations: 124.2 kB / 1.146 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/1.075, allocations: 168.2 kB / 1.146 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/1.08, allocations: 1.848 MB / 1.148 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/1.08, allocations: 0 / 1.148 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002642/1.081, allocations: 73.94 kB / 1.148 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/1.081, allocations: 41.12 kB / 1.148 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003882/1.085, allocations: 1.884 MB / 1.15 GB, free: 16.76 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.009833/1.094, allocations: 5.159 MB / 1.155 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/1.098, allocations: 1.775 MB / 1.156 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.099, allocations: 0.643 MB / 1.157 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/1.1, allocations: 0.8065 MB / 1.158 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/1.102, allocations: 0.8936 MB / 1.159 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=146): time 5.441e-06/1.102, allocations: 3.938 kB / 1.159 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=146): time 0.006434/1.108, allocations: 2.552 MB / 1.161 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.109, allocations: 199.3 kB / 1.161 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.11, allocations: 0.839 MB / 1.162 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.11, allocations: 59.39 kB / 1.162 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/1.111, allocations: 0.6379 MB / 1.163 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004776/1.111, allocations: 487.7 kB / 1.163 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004812/1.112, allocations: 251.3 kB / 1.164 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.112, allocations: 360.2 kB / 1.164 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.113, allocations: 494.1 kB / 1.164 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/1.114, allocations: 0.6373 MB / 1.165 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.116, allocations: 1.127 MB / 1.166 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/1.116, allocations: 0 / 1.166 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003704/1.12, allocations: 1.547 MB / 1.168 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/1.12, allocations: 5.5 kB / 1.168 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.12, allocations: 2.625 kB / 1.168 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/1.121, allocations: 189.4 kB / 1.168 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/1.123, allocations: 340.8 kB / 1.168 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/1.129, allocations: 7.284 MB / 1.175 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/1.131, allocations: 159.9 kB / 1.175 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.131, allocations: 65.56 kB / 1.176 GB, free: 15.09 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.00124/1.132, allocations: 379.2 kB / 1.176 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/1.133, allocations: 134.1 kB / 1.176 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/1.137, allocations: 1.847 MB / 1.178 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.138, allocations: 18.67 kB / 1.178 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/1.138, allocations: 2.125 kB / 1.178 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/1.138, allocations: 7.828 kB / 1.178 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0071/1.145, allocations: 3.432 MB / 1.181 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.145, allocations: 6.344 kB / 1.181 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/1.146, allocations: 312.3 kB / 1.181 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007688/1.147, allocations: 184.6 kB / 1.182 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/1.147, allocations: 38.19 kB / 1.182 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005872/1.153, allocations: 7.336 MB / 1.189 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/1.153, allocations: 0 / 1.189 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/1.158, allocations: 1.708 MB / 1.191 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.159, allocations: 399.7 kB / 1.191 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/1.159, allocations: 38.75 kB / 1.191 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/1.161, allocations: 121.2 kB / 1.191 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003015/1.161, allocations: 114 kB / 1.191 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.162, allocations: 81.62 kB / 1.191 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001002/1.163, allocations: 0.5743 MB / 1.192 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/1.163, allocations: 0 / 1.192 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002468/1.165, allocations: 0.5823 MB / 1.192 GB, free: 2.402 MB / 0.8887 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.002264/1.167, allocations: 0.7253 MB / 1.193 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00539/1.173, allocations: 2.3 MB / 1.195 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.173, allocations: 0.5625 kB / 1.195 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.175, allocations: 1.309 MB / 1.197 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.178, allocations: 0.5073 MB / 1.197 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/1.185, allocations: 3.717 MB / 1.201 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.186, allocations: 1.294 MB / 1.202 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/1.187, allocations: 178.5 kB / 1.202 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.187, allocations: 0 / 1.202 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.06716/1.254, allocations: 57.21 MB / 1.258 GB, free: 7.832 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