Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 184.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009073/0.0009072, allocations: 94.5 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.291e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.89/6.115, allocations: 2.21 GB / 3.101 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/6.115, allocations: 79.95 kB / 3.102 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.248/7.363, allocations: 308.2 MB / 3.403 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.705e-06/7.363, allocations: 0 / 3.403 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001822/7.363, allocations: 47.7 kB / 3.403 GB, free: 190.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004058/7.367, allocations: 1.76 MB / 3.404 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/7.367, allocations: 8.031 kB / 3.404 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/7.371, allocations: 0.4953 MB / 3.405 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/7.372, allocations: 0.9737 MB / 3.406 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-05/7.372, allocations: 123.3 kB / 3.406 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/7.373, allocations: 164 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002495/7.375, allocations: 1.697 MB / 3.408 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/7.375, allocations: 0 / 3.408 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/7.375, allocations: 72 kB / 3.408 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/7.375, allocations: 44 kB / 3.408 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/7.378, allocations: 1.699 MB / 3.409 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006675/7.384, allocations: 5.067 MB / 3.414 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/7.386, allocations: 1.217 MB / 3.416 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/7.387, allocations: 0.5659 MB / 3.416 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007519/7.388, allocations: 0.8078 MB / 3.417 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/7.389, allocations: 0.7914 MB / 3.418 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 4.639e-06/7.389, allocations: 3.984 kB / 3.418 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.002918/7.392, allocations: 1.331 MB / 3.419 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/7.392, allocations: 248.6 kB / 3.419 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/7.393, allocations: 0.7394 MB / 3.42 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/7.393, allocations: 57.7 kB / 3.42 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004193/7.393, allocations: 0.6289 MB / 3.421 GB, free: 171 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/7.393, allocations: 469.1 kB / 3.421 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/7.394, allocations: 24 kB / 3.421 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/7.394, allocations: 345.9 kB / 3.421 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/7.394, allocations: 390.5 kB / 3.422 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/7.395, allocations: 0.5491 MB / 3.422 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006508/7.396, allocations: 475 kB / 3.423 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/7.396, allocations: 0 / 3.423 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002367/7.398, allocations: 1.304 MB / 3.424 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/7.398, allocations: 4 kB / 3.424 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/7.398, allocations: 3.953 kB / 3.424 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008346/7.399, allocations: 196.2 kB / 3.424 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/7.4, allocations: 299.6 kB / 3.425 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/7.404, allocations: 6.748 MB / 3.431 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/7.405, allocations: 151 kB / 3.431 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/7.406, allocations: 43.97 kB / 3.431 GB, free: 159.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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.0003728/7.406, allocations: 184.7 kB / 3.431 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/7.406, allocations: 126.6 kB / 3.432 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003069/7.409, allocations: 1.643 MB / 3.433 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/7.409, allocations: 16 kB / 3.433 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/7.409, allocations: 11.92 kB / 3.433 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/7.409, allocations: 7.938 kB / 3.433 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/7.411, allocations: 1.47 MB / 3.435 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/7.411, allocations: 4 kB / 3.435 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/7.412, allocations: 299.6 kB / 3.435 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/7.413, allocations: 184.1 kB / 3.435 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.639e-05/7.413, allocations: 39.97 kB / 3.435 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/7.417, allocations: 6.798 MB / 3.442 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/7.417, allocations: 0 / 3.442 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/7.42, allocations: 1.441 MB / 3.443 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/7.42, allocations: 418.9 kB / 3.444 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/7.42, allocations: 31.98 kB / 3.444 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/7.422, allocations: 123.8 kB / 3.444 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/7.422, allocations: 105.1 kB / 3.444 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/7.422, allocations: 71.94 kB / 3.444 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000715/7.423, allocations: 0.593 MB / 3.445 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/7.423, allocations: 0 / 3.445 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001925/7.425, allocations: 0.6701 MB / 3.445 GB, free: 144.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002555/7.427, allocations: 1.592 MB / 3.447 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002218/7.429, allocations: 1.633 MB / 3.448 GB, free: 141 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/7.429, allocations: 1.062 kB / 3.448 GB, free: 141 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/7.431, allocations: 1.2 MB / 3.45 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/7.433, allocations: 436.5 kB / 3.45 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/7.438, allocations: 2.227 MB / 3.452 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/7.439, allocations: 1.311 MB / 3.453 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001884/7.441, allocations: 425.4 kB / 3.454 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/7.441, allocations: 143.4 kB / 3.454 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/7.441, allocations: 0 / 3.454 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.05215/7.493, allocations: 40.42 MB / 3.493 GB, free: 94.86 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches