Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supSig.TSup|supSig.TSupSet|supSig.uTSup|supSig.yHea|supSig.yCoo|supSig1.TSup|supSig1.uTSup|supSig1.yHea",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supSig.TSup|supSig.TSupSet|supSig.uTSup|supSig.yHea|supSig.yCoo|supSig1.TSup|supSig1.uTSup|supSig1.yHea",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.3 MB / 261.8 MB, free: 5.812 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.0009818/0.0009821, allocations: 174.1 kB / 321.3 MB, free: 14.64 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.414/1.414, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.00079/0.00079, allocations: 78.55 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.087e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1739, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6102/0.7842, allocations: 135.6 MB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.7845, allocations: 87.73 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02976/0.8143, allocations: 12.3 MB / 1.036 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8143, allocations: 3.938 kB / 1.036 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.8144, allocations: 16 kB / 1.036 GB, free: 4.758 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001502/0.8159, allocations: 0.922 MB / 1.037 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.8159, allocations: 8.031 kB / 1.037 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.8161, allocations: 94.88 kB / 1.037 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.8168, allocations: 0.5063 MB / 1.038 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.8169, allocations: 55 kB / 1.038 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.817, allocations: 65.31 kB / 1.038 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.8181, allocations: 0.6779 MB / 1.039 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.8181, allocations: 0 / 1.039 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.8181, allocations: 30.56 kB / 1.039 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.8182, allocations: 16 kB / 1.039 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.819, allocations: 499.3 kB / 1.039 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/0.8221, allocations: 2.199 MB / 1.041 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.8231, allocations: 0.5881 MB / 1.042 GB, free: 356 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.8234, allocations: 230.7 kB / 1.042 GB, free: 216 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.8235, allocations: 4.438 kB / 1.042 GB, free: 212 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004878/0.824, allocations: 298.9 kB / 1.042 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.824, allocations: 4 kB / 1.042 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.0007343/0.8247, allocations: 428.8 kB / 1.043 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8248, allocations: 221.2 kB / 1.043 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006346/0.8255, allocations: 0.5399 MB / 1.044 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.8255, allocations: 36.33 kB / 1.044 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.8258, allocations: 355.8 kB / 1.044 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8259, allocations: 169.3 kB / 1.044 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.826, allocations: 14.44 kB / 1.044 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8261, allocations: 379.4 kB / 1.045 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.8263, allocations: 148.1 kB / 1.045 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.8267, allocations: 254.8 kB / 1.045 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.827, allocations: 178.7 kB / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.827, allocations: 0 / 1.045 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007255/0.8278, allocations: 0.493 MB / 1.046 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.8279, allocations: 268.6 kB / 1.046 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.8279, allocations: 4 kB / 1.046 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.8279, allocations: 0 / 1.046 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.8284, allocations: 115.8 kB / 1.046 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.8285, allocations: 4 kB / 1.046 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.8289, allocations: 112.9 kB / 1.046 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.8289, allocations: 11.31 kB / 1.046 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.829, allocations: 9.562 kB / 1.046 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000572/0.8295, allocations: 395.2 kB / 1.046 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.8295, allocations: 4 kB / 1.046 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.677e-06/0.8296, allocations: 0 / 1.046 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.8299, allocations: 103.7 kB / 1.047 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.83, allocations: 0 / 1.047 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003567/0.8303, allocations: 98 kB / 1.047 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.8304, allocations: 11.81 kB / 1.047 GB, free: 12.52 MB / 0.6667 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 ($whenCondition3,$whenCondition1,$whenCondition2,supFanSta.y,$PRE.supFanSta.pulseStart,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.8305, allocations: 137.4 kB / 1.047 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.8306, allocations: 79.03 kB / 1.047 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/0.8314, allocations: 468 kB / 1.047 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.8314, allocations: 8 kB / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8314, allocations: 0 / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.8314, allocations: 0 / 1.047 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.8331, allocations: 1.338 MB / 1.049 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8331, allocations: 7.938 kB / 1.049 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.8335, allocations: 103.7 kB / 1.049 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.8335, allocations: 4 kB / 1.049 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.8336, allocations: 7.75 kB / 1.049 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.8336, allocations: 4.125 kB / 1.049 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8336, allocations: 4 kB / 1.049 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/0.8346, allocations: 0.8225 MB / 1.05 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.8347, allocations: 161.9 kB / 1.05 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.8348, allocations: 17.42 kB / 1.05 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.8352, allocations: 63.14 kB / 1.05 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.8353, allocations: 31.89 kB / 1.05 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.8353, allocations: 15.19 kB / 1.05 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004426/0.8357, allocations: 436.5 kB / 1.05 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8358, allocations: 3.938 kB / 1.05 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000567/0.8363, allocations: 238.4 kB / 1.05 GB, free: 9.441 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (supSig.conTSup.I.y,supSig1.conTSup.I.y) * Number of discrete variables: 5 (supFanSta.y,$whenCondition3,$whenCondition2,$whenCondition1,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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.0001606/0.8365, allocations: 126.3 kB / 1.051 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.8374, allocations: 0.6277 MB / 1.051 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8374, allocations: 0 / 1.051 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.8377, allocations: 205.1 kB / 1.051 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.8384, allocations: 149.8 kB / 1.052 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.8399, allocations: 0.8483 MB / 1.052 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.8403, allocations: 0.932 MB / 1.053 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004905/0.8408, allocations: 113.2 kB / 1.053 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.841, allocations: 43.25 kB / 1.053 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of SimCode: time 2.073e-06/0.841, allocations: 0 / 1.053 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of Templates: time 0.01329/0.8543, allocations: 7.663 MB / 1.061 GB, free: 15.24 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches