Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001478/0.001479, allocations: 183.3 kB / 498.1 MB, free: 5.734 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.642/1.642, allocations: 223.2 MB / 0.7949 GB, free: 18.76 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.0009746/0.0009746, allocations: 98.06 kB / 0.9346 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003721, allocations: 8.25 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 142.4 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.5413, allocations: 154.8 MB / 1.374 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5416, allocations: 87.94 kB / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05999/0.6016, allocations: 22.78 MB / 1.396 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.617e-06/0.6016, allocations: 0 / 1.396 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.663e-05/0.6017, allocations: 36 kB / 1.396 GB, free: 7.641 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.003692/0.6054, allocations: 1.823 MB / 1.398 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.6055, allocations: 8.031 kB / 1.398 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.6059, allocations: 197.7 kB / 1.398 GB, free: 5.551 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.6081, allocations: 1.133 MB / 1.399 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.6082, allocations: 110.8 kB / 1.4 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.6084, allocations: 155.9 kB / 1.4 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/0.6109, allocations: 1.398 MB / 1.401 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.611, allocations: 3.938 kB / 1.401 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.6111, allocations: 63.94 kB / 1.401 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.6112, allocations: 36 kB / 1.401 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.6134, allocations: 1.085 MB / 1.402 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6582/1.272, allocations: 4.525 MB / 1.407 GB, free: 160.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.274, allocations: 0.9301 MB / 1.408 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/1.274, allocations: 16.28 kB / 1.408 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009891/1.275, allocations: 0.543 MB / 1.408 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 3.597e-06/1.275, allocations: 0.7031 kB / 1.408 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.002489/1.277, allocations: 1.169 MB / 1.409 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/1.277, allocations: 245.7 kB / 1.409 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/1.279, allocations: 1.051 MB / 1.411 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/1.279, allocations: 62.22 kB / 1.411 GB, free: 159.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/1.28, allocations: 0.7323 MB / 1.411 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/1.28, allocations: 278.5 kB / 1.412 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/1.28, allocations: 24.25 kB / 1.412 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/1.28, allocations: 351.1 kB / 1.412 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008249/1.281, allocations: 402.9 kB / 1.412 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009794/1.282, allocations: 0.7481 MB / 1.413 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000884/1.283, allocations: 484.8 kB / 1.414 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.283, allocations: 1.75 kB / 1.414 GB, free: 158.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002449/1.285, allocations: 1.29 MB / 1.415 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005465/1.286, allocations: 2.885 MB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.286, allocations: 8.891 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/1.286, allocations: 13.81 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/1.287, allocations: 233.3 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/1.287, allocations: 18.28 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.288, allocations: 234.6 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.288, allocations: 48.45 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.288, allocations: 4.156 kB / 1.418 GB, free: 155.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001808/1.29, allocations: 1.01 MB / 1.419 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.29, allocations: 8.344 kB / 1.419 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.29, allocations: 17.19 kB / 1.419 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/1.29, allocations: 209.8 kB / 1.419 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/1.29, allocations: 18.58 kB / 1.419 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009003/1.291, allocations: 184.4 kB / 1.42 GB, free: 155.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.291, allocations: 48.7 kB / 1.42 GB, free: 155.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008448/1.292, allocations: 422.5 kB / 1.42 GB, free: 155.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/1.293, allocations: 141.3 kB / 1.42 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/1.294, allocations: 0.9506 MB / 1.421 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/1.295, allocations: 10.66 kB / 1.421 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.295, allocations: 1.375 kB / 1.421 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.295, allocations: 4.453 kB / 1.421 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/1.298, allocations: 2.529 MB / 1.424 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.298, allocations: 2.625 kB / 1.424 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/1.299, allocations: 158.7 kB / 1.424 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.299, allocations: 11.09 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.299, allocations: 25.03 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/1.299, allocations: 7.125 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.299, allocations: 3.062 kB / 1.424 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.302, allocations: 1.845 MB / 1.426 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/1.302, allocations: 229.9 kB / 1.426 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.302, allocations: 34.23 kB / 1.426 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/1.303, allocations: 85.33 kB / 1.426 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/1.303, allocations: 101.4 kB / 1.426 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/1.303, allocations: 33.56 kB / 1.426 GB, free: 153.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001117/1.304, allocations: 0.7925 MB / 1.427 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.304, allocations: 0 / 1.427 GB, free: 153.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001491/1.306, allocations: 479 kB / 1.427 GB, free: 153.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002455/1.306, allocations: 167.9 kB / 1.427 GB, free: 153 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002964/1.309, allocations: 1.612 MB / 1.429 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.309, allocations: 6.812 kB / 1.429 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008025/1.31, allocations: 431.2 kB / 1.429 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.311, allocations: 254 kB / 1.43 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/1.315, allocations: 2.769 MB / 1.432 GB, free: 151.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.316, allocations: 1.213 MB / 1.433 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001099/1.318, allocations: 212.6 kB / 1.434 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/1.318, allocations: 106.7 kB / 1.434 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of SimCode: time 7.42e-07/1.318, allocations: 0 / 1.434 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.0265/1.344, allocations: 13.11 MB / 1.447 GB, free: 149.7 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches