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.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001206, allocations: 179.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008598/0.0008598, allocations: 85.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003448, allocations: 11.34 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2556, allocations: 106.4 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.869/6.124, allocations: 2.21 GB / 3.11 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/6.125, allocations: 89.69 kB / 3.11 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5846/6.709, allocations: 308.7 MB / 3.411 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.559e-06/6.709, allocations: 0 / 3.411 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001851/6.71, allocations: 51.88 kB / 3.411 GB, free: 3.199 MB / 0.8855 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.005098/6.715, allocations: 1.904 MB / 3.413 GB, free: 1.227 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/6.715, allocations: 8.031 kB / 3.413 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/6.719, allocations: 0.5011 MB / 3.414 GB, free: 0.7148 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5687/7.287, allocations: 0.982 MB / 3.415 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/7.287, allocations: 121.3 kB / 3.415 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/7.288, allocations: 160.6 kB / 3.415 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00361/7.291, allocations: 1.758 MB / 3.417 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/7.291, allocations: 5.938 kB / 3.417 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/7.292, allocations: 73.31 kB / 3.417 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/7.292, allocations: 40.03 kB / 3.417 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/7.295, allocations: 1.797 MB / 3.419 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009607/7.305, allocations: 5.052 MB / 3.424 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/7.307, allocations: 1.328 MB / 3.425 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009101/7.308, allocations: 0.801 MB / 3.426 GB, free: 217 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/7.31, allocations: 0.8276 MB / 3.426 GB, free: 217 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=137): time 4.559e-06/7.31, allocations: 0 / 3.426 GB, free: 217 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137): time 0.007123/7.318, allocations: 2.432 MB / 3.429 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/7.318, allocations: 249.8 kB / 3.429 GB, free: 216 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/7.319, allocations: 0.7509 MB / 3.43 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002405/7.32, allocations: 56.67 kB / 3.43 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007168/7.32, allocations: 0.627 MB / 3.43 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000465/7.321, allocations: 461.7 kB / 3.431 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/7.321, allocations: 23.47 kB / 3.431 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001298/7.321, allocations: 352.2 kB / 3.431 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/7.322, allocations: 438.1 kB / 3.432 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/7.323, allocations: 0.5881 MB / 3.432 GB, free: 215 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/7.324, allocations: 0.5013 MB / 3.433 GB, free: 215 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/7.324, allocations: 1.25 kB / 3.433 GB, free: 215 MB / 0.8855 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003538/7.328, allocations: 1.401 MB / 3.434 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/7.328, allocations: 5.281 kB / 3.434 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/7.328, allocations: 1.875 kB / 3.434 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009524/7.329, allocations: 195 kB / 3.434 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/7.33, allocations: 294.3 kB / 3.435 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/7.335, allocations: 6.812 MB / 3.441 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/7.337, allocations: 149.4 kB / 3.441 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/7.337, allocations: 51.03 kB / 3.441 GB, free: 208.4 MB / 0.8855 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 () * Number of clocked 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.001139/7.338, allocations: 370.1 kB / 3.442 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/7.339, allocations: 126.2 kB / 3.442 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/7.343, allocations: 1.732 MB / 3.444 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/7.343, allocations: 18.08 kB / 3.444 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/7.343, allocations: 6.031 kB / 3.444 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/7.343, allocations: 6.562 kB / 3.444 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/7.345, allocations: 1.475 MB / 3.445 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/7.345, allocations: 3.156 kB / 3.445 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/7.347, allocations: 299.8 kB / 3.445 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008086/7.348, allocations: 198.2 kB / 3.446 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/7.348, allocations: 40.14 kB / 3.446 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/7.352, allocations: 6.847 MB / 3.452 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.352, allocations: 0 / 3.452 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/7.355, allocations: 1.536 MB / 3.454 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/7.357, allocations: 416.5 kB / 3.454 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/7.357, allocations: 26.72 kB / 3.454 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/7.358, allocations: 124.5 kB / 3.454 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/7.358, allocations: 107.1 kB / 3.454 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/7.358, allocations: 67.34 kB / 3.454 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008281/7.359, allocations: 0.5979 MB / 3.455 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/7.359, allocations: 2.594 kB / 3.455 GB, free: 201.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002295/7.361, allocations: 0.6685 MB / 3.456 GB, free: 201 MB / 0.8855 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) * Number of clocked states: 0 () * 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.003062/7.364, allocations: 1.617 MB / 3.457 GB, free: 200.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003037/7.368, allocations: 1.734 MB / 3.459 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/7.368, allocations: 4.562 kB / 3.459 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/7.369, allocations: 1.249 MB / 3.46 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/7.371, allocations: 442.5 kB / 3.461 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/7.378, allocations: 3.582 MB / 3.464 GB, free: 198 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/7.379, allocations: 1.311 MB / 3.465 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002023/7.381, allocations: 424.9 kB / 3.466 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/7.382, allocations: 140.7 kB / 3.466 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/7.382, allocations: 0 / 3.466 GB, free: 197.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0585/7.44, allocations: 37.46 MB / 3.503 GB, free: 196 MB / 0.8855 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