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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001058/0.001058, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009799/0.0009801, allocations: 177.3 kB / 15.94 MB, free: 228 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.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003396, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7045, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1604/0.865, allocations: 140.2 MB / 1.09 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.8819, allocations: 13.92 MB / 1.104 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.8832, allocations: 23.81 kB / 1.104 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.8843, allocations: 326.1 kB / 1.104 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.888, allocations: 1.219 MB / 1.106 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.8908, allocations: 1.007 MB / 1.107 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.894, allocations: 1.494 MB / 1.108 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.8965, allocations: 1.441 MB / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.8983, allocations: 0.8601 MB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.8995, allocations: 0.6023 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.8997, allocations: 44 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.902, allocations: 0.901 MB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.9024, allocations: 342.6 kB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004404/0.9028, allocations: 340.8 kB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.9055, allocations: 2.166 MB / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.9055, allocations: 0 / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9055, allocations: 0 / 1.114 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.288e-05/0.9055, allocations: 0 / 1.114 GB, free: 10.9 MB / 0.8731 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.003141/0.9087, allocations: 1.878 MB / 1.116 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.9087, allocations: 12.03 kB / 1.116 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.9121, allocations: 0.5167 MB / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.9138, allocations: 1.044 MB / 1.118 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.445e-05/0.9139, allocations: 127.3 kB / 1.118 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.9141, allocations: 172 kB / 1.118 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.9171, allocations: 1.82 MB / 1.12 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.9172, allocations: 4 kB / 1.12 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.9173, allocations: 72 kB / 1.12 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.9174, allocations: 40 kB / 1.12 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.9205, allocations: 1.875 MB / 1.122 GB, free: 3.188 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.007537/0.928, allocations: 5.193 MB / 1.127 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002792/0.9309, allocations: 1.505 MB / 1.128 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.9313, allocations: 470.7 kB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00145/0.9328, allocations: 0.8917 MB / 1.13 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 2.535e-06/0.9328, allocations: 4 kB / 1.13 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.00929/0.9421, allocations: 2.543 MB / 1.132 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001782/0.9423, allocations: 205.2 kB / 1.132 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.9442, allocations: 0.8231 MB / 1.133 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/0.9445, allocations: 61.7 kB / 1.133 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008211/0.9454, allocations: 0.6446 MB / 1.134 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007153/0.9461, allocations: 480.9 kB / 1.134 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9462, allocations: 28 kB / 1.134 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.9465, allocations: 353.9 kB / 1.135 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.948, allocations: 474.3 kB / 1.135 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.9499, allocations: 0.6262 MB / 1.136 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.9517, allocations: 0.5257 MB / 1.136 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.9517, allocations: 0 / 1.136 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005878/0.9576, allocations: 1.491 MB / 1.138 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.9577, allocations: 4 kB / 1.138 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.9577, allocations: 7.938 kB / 1.138 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.9593, allocations: 196.2 kB / 1.138 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.9625, allocations: 327.6 kB / 1.138 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.9729, allocations: 6.816 MB / 1.145 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.9755, allocations: 166.8 kB / 1.145 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.9758, allocations: 51.97 kB / 1.145 GB, free: 10.04 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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.001404/0.9772, allocations: 380.5 kB / 1.146 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.9777, allocations: 134.4 kB / 1.146 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007789/0.9855, allocations: 1.85 MB / 1.147 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.9856, allocations: 20 kB / 1.147 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.9856, allocations: 0 / 1.147 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.9856, allocations: 7.969 kB / 1.147 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9962, allocations: 3.27 MB / 1.151 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.9963, allocations: 7.953 kB / 1.151 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/0.9993, allocations: 327.8 kB / 1.151 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/1.001, allocations: 188.1 kB / 1.151 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.001, allocations: 39.97 kB / 1.151 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009908/1.011, allocations: 6.849 MB / 1.158 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.011, allocations: 7.938 kB / 1.158 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007113/1.018, allocations: 1.848 MB / 1.16 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.019, allocations: 422.9 kB / 1.16 GB, free: 9.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/1.02, allocations: 35.98 kB / 1.16 GB, free: 9.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.022, allocations: 143.8 kB / 1.16 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003711/1.023, allocations: 125.1 kB / 1.16 GB, free: 9.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.023, allocations: 71.89 kB / 1.16 GB, free: 9.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001392/1.024, allocations: 0.5746 MB / 1.161 GB, free: 8.816 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.11e-07/1.024, allocations: 0 / 1.161 GB, free: 8.816 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002667/1.027, allocations: 0.5766 MB / 1.162 GB, free: 8.238 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.00272/1.03, allocations: 0.7309 MB / 1.162 GB, free: 7.688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006031/1.036, allocations: 1.813 MB / 1.164 GB, free: 5.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.036, allocations: 4.797 kB / 1.164 GB, free: 5.809 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003633/1.04, allocations: 1.325 MB / 1.165 GB, free: 4.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/1.043, allocations: 457.9 kB / 1.166 GB, free: 3.977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/1.055, allocations: 3.685 MB / 1.169 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/1.056, allocations: 1.331 MB / 1.171 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003418/1.06, allocations: 430.1 kB / 1.171 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007078/1.06, allocations: 151.4 kB / 1.171 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of SimCode: time 9.01e-07/1.06, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.0488/1.109, allocations: 24.95 MB / 1.196 GB, free: 5.668 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","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches