Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 172.9 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.753/1.753, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.7 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.075e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4299, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.483/6.913, allocations: 1.938 GB / 3.15 GB, free: 333 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/6.913, allocations: 87.89 kB / 3.15 GB, free: 333 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6306/7.544, allocations: 314.9 MB / 3.457 GB, free: 29.29 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.625e-06/7.544, allocations: 0 / 3.457 GB, free: 29.29 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000246/7.544, allocations: 47.98 kB / 3.457 GB, free: 29.24 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.005096/7.55, allocations: 1.758 MB / 3.459 GB, free: 27.42 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/7.55, allocations: 8.031 kB / 3.459 GB, free: 27.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/7.554, allocations: 0.4895 MB / 3.46 GB, free: 26.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/7.556, allocations: 0.9661 MB / 3.461 GB, free: 25.91 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/7.557, allocations: 56 kB / 3.461 GB, free: 25.86 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/7.557, allocations: 95.95 kB / 3.461 GB, free: 25.76 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003221/7.56, allocations: 1.623 MB / 3.462 GB, free: 24.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/7.563, allocations: 1.449 MB / 3.464 GB, free: 22.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/7.564, allocations: 0 / 3.464 GB, free: 22.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/7.564, allocations: 8 kB / 3.464 GB, free: 22.63 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/7.564, allocations: 40 kB / 3.464 GB, free: 22.59 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006874/7.571, allocations: 4.56 MB / 3.468 GB, free: 17.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/7.572, allocations: 1.499 MB / 3.47 GB, free: 16.26 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/7.573, allocations: 0.5308 MB / 3.47 GB, free: 15.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/7.574, allocations: 0.8039 MB / 3.471 GB, free: 14.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/7.575, allocations: 0.7216 MB / 3.472 GB, free: 14.02 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.868e-06/7.575, allocations: 0 / 3.472 GB, free: 14.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.002944/7.578, allocations: 1.277 MB / 3.473 GB, free: 12.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/7.578, allocations: 248.6 kB / 3.473 GB, free: 12.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/7.579, allocations: 0.6213 MB / 3.474 GB, free: 11.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.751e-05/7.579, allocations: 25.7 kB / 3.474 GB, free: 11.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/7.579, allocations: 0.6364 MB / 3.474 GB, free: 11.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/7.579, allocations: 437.4 kB / 3.475 GB, free: 10.68 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/7.58, allocations: 3.938 kB / 3.475 GB, free: 10.67 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/7.58, allocations: 349.9 kB / 3.475 GB, free: 10.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/7.58, allocations: 374.5 kB / 3.476 GB, free: 9.961 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/7.581, allocations: 0.5269 MB / 3.476 GB, free: 9.395 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/7.581, allocations: 470.1 kB / 3.477 GB, free: 8.938 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/7.581, allocations: 0 / 3.477 GB, free: 8.938 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002281/7.584, allocations: 1.253 MB / 3.478 GB, free: 7.66 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/7.584, allocations: 4 kB / 3.478 GB, free: 7.656 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.584, allocations: 0 / 3.478 GB, free: 7.656 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/7.585, allocations: 184.2 kB / 3.478 GB, free: 7.461 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/7.586, allocations: 299.6 kB / 3.478 GB, free: 7.168 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004165/7.59, allocations: 6.495 MB / 3.485 GB, free: 88 kB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.8257/8.416, allocations: 105.5 kB / 3.485 GB, free: 308.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/8.416, allocations: 47.58 kB / 3.485 GB, free: 308.2 MB / 1.151 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.0004012/8.417, allocations: 131.2 kB / 3.485 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/8.417, allocations: 115.1 kB / 3.485 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/8.421, allocations: 1.552 MB / 3.486 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/8.421, allocations: 14.19 kB / 3.486 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/8.421, allocations: 5.969 kB / 3.486 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/8.421, allocations: 7.578 kB / 3.487 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/8.427, allocations: 2.938 MB / 3.489 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/8.427, allocations: 0 / 3.489 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/8.429, allocations: 315.8 kB / 3.49 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008089/8.43, allocations: 189.8 kB / 3.49 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/8.43, allocations: 21.31 kB / 3.49 GB, free: 307.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004157/8.434, allocations: 6.53 MB / 3.496 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.434, allocations: 0 / 3.496 GB, free: 301.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003431/8.437, allocations: 1.428 MB / 3.498 GB, free: 301.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009569/8.438, allocations: 395.7 kB / 3.498 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/8.438, allocations: 1.906 kB / 3.498 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/8.44, allocations: 100.7 kB / 3.498 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/8.44, allocations: 102.4 kB / 3.498 GB, free: 301.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/8.44, allocations: 69.89 kB / 3.498 GB, free: 301.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007759/8.441, allocations: 491.4 kB / 3.499 GB, free: 301.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.51e-07/8.441, allocations: 2.688 kB / 3.499 GB, free: 301.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002773/8.444, allocations: 0.6176 MB / 3.499 GB, free: 301.1 MB / 1.151 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.conTim.tNext,weaDat.conTimMin.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.003287/8.447, allocations: 1.72 MB / 3.501 GB, free: 300.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002593/8.45, allocations: 1.568 MB / 3.503 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/8.45, allocations: 3.094 kB / 3.503 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/8.451, allocations: 1.151 MB / 3.504 GB, free: 299.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/8.454, allocations: 403.6 kB / 3.504 GB, free: 299.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/8.459, allocations: 2.092 MB / 3.506 GB, free: 299.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/8.46, allocations: 1.307 MB / 3.507 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002073/8.462, allocations: 403.9 kB / 3.508 GB, free: 298.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/8.463, allocations: 144.8 kB / 3.508 GB, free: 298.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.222e-06/8.463, allocations: 3.844 kB / 3.508 GB, free: 298.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06256/8.525, allocations: 29.56 MB / 3.537 GB, free: 297.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches