Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001124/0.001125, allocations: 180.9 kB / 492.3 MB, free: 0.5898 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.539/1.539, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008446/0.0008446, allocations: 99.22 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3942, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8355/1.23, allocations: 152.1 MB / 1.361 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.23, allocations: 80.55 kB / 1.361 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02545/1.256, allocations: 11.09 MB / 1.372 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.256, allocations: 0 / 1.372 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.567e-05/1.256, allocations: 23.03 kB / 1.372 GB, free: 33.91 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001119/1.257, allocations: 0.8844 MB / 1.373 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.257, allocations: 7.75 kB / 1.373 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/1.257, allocations: 81.72 kB / 1.373 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/1.257, allocations: 486.4 kB / 1.373 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/1.258, allocations: 47.88 kB / 1.373 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/1.258, allocations: 66.69 kB / 1.373 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009112/1.259, allocations: 0.6225 MB / 1.374 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.259, allocations: 0 / 1.374 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/1.259, allocations: 32.7 kB / 1.374 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/1.259, allocations: 15.38 kB / 1.374 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/1.259, allocations: 455.4 kB / 1.375 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/1.262, allocations: 2.078 MB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/1.262, allocations: 0.6852 MB / 1.377 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/1.263, allocations: 222.2 kB / 1.377 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/1.263, allocations: 4.219 kB / 1.377 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/1.263, allocations: 292.8 kB / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=49): time 1.733e-06/1.263, allocations: 0 / 1.378 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49): time 0.0005831/1.264, allocations: 410.2 kB / 1.378 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.264, allocations: 216.8 kB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/1.264, allocations: 491 kB / 1.379 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/1.264, allocations: 36.33 kB / 1.379 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.264, allocations: 319.9 kB / 1.379 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/1.265, allocations: 156.4 kB / 1.379 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/1.265, allocations: 11.69 kB / 1.379 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.265, allocations: 370.7 kB / 1.38 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/1.265, allocations: 162.1 kB / 1.38 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/1.265, allocations: 265.4 kB / 1.38 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.266, allocations: 211.8 kB / 1.38 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.266, allocations: 0 / 1.38 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007336/1.266, allocations: 0.5227 MB / 1.381 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/1.266, allocations: 400.8 kB / 1.381 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.266, allocations: 3.984 kB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.266, allocations: 3.844 kB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/1.267, allocations: 109 kB / 1.381 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.267, allocations: 7.906 kB / 1.381 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/1.267, allocations: 127 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/1.267, allocations: 20.91 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/1.267, allocations: 5.25 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006124/1.268, allocations: 454 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/1.268, allocations: 3.844 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.618e-06/1.268, allocations: 8.047 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/1.268, allocations: 96.42 kB / 1.382 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.268, allocations: 3.844 kB / 1.382 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/1.269, allocations: 117.1 kB / 1.382 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/1.269, allocations: 26.08 kB / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.supFanSta.y,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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.0001234/1.269, allocations: 136.5 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/1.269, allocations: 57.56 kB / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006374/1.27, allocations: 440.6 kB / 1.383 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.27, allocations: 7.797 kB / 1.383 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.27, allocations: 0 / 1.383 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.27, allocations: 7.922 kB / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/1.271, allocations: 1.26 MB / 1.384 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.271, allocations: 3.844 kB / 1.384 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/1.271, allocations: 96.12 kB / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.272, allocations: 3.875 kB / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/1.272, allocations: 10.66 kB / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.272, allocations: 3.844 kB / 1.384 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.272, allocations: 8.062 kB / 1.384 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/1.272, allocations: 0.7678 MB / 1.385 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/1.272, allocations: 148.1 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/1.273, allocations: 17.62 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/1.273, allocations: 54.19 kB / 1.385 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.236e-05/1.273, allocations: 37.19 kB / 1.385 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/1.273, allocations: 15.36 kB / 1.385 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003593/1.273, allocations: 385.6 kB / 1.385 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.273, allocations: 0 / 1.385 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005806/1.274, allocations: 243 kB / 1.386 GB, free: 28.52 MB / 0.8386 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0001685/1.274, allocations: 150.2 kB / 1.386 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009169/1.275, allocations: 0.7543 MB / 1.387 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.275, allocations: 0 / 1.387 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002383/1.275, allocations: 195.3 kB / 1.387 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/1.276, allocations: 120 kB / 1.387 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.277, allocations: 0.7757 MB / 1.388 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/1.277, allocations: 0.9064 MB / 1.389 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004011/1.278, allocations: 99.03 kB / 1.389 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/1.278, allocations: 38.47 kB / 1.389 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.278, allocations: 0 / 1.389 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.01239/1.29, allocations: 7.768 MB / 1.396 GB, free: 23.29 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve.csv","../files/Buildings_9_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