Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damLim.uSupFan_actual|damLim.VOutMinSet_flow|damLim.yOutDam_min|damLim.yOutDam_max|damLim1.uSupFan_actual|damLim1.VOutMinSet_flow|damLim1.yOutDam_min|damLim1.yOutDam_max",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.33/2.33, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001063/0.001063, allocations: 180 kB / 0.4902 GB, free: 2.293 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0009056/0.0009056, allocations: 98.39 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003605, allocations: 9.078 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.4883, allocations: 151.8 MB / 1.378 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4886, allocations: 79.94 kB / 1.378 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02065/0.5093, allocations: 8.413 MB / 1.386 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5093, allocations: 0 / 1.386 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.551e-05/0.5094, allocations: 20 kB / 1.386 GB, free: 4.91 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001547/0.5109, allocations: 0.8688 MB / 1.387 GB, free: 3.992 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.511, allocations: 8.562 kB / 1.387 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.5111, allocations: 79.06 kB / 1.387 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.5121, allocations: 0.564 MB / 1.387 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.5122, allocations: 49.31 kB / 1.387 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.975e-05/0.5123, allocations: 63.98 kB / 1.387 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.5133, allocations: 0.5336 MB / 1.388 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.5133, allocations: 4 kB / 1.388 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/0.5134, allocations: 24 kB / 1.388 GB, free: 2.621 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5134, allocations: 16 kB / 1.388 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.5143, allocations: 0.4893 MB / 1.388 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.5171, allocations: 1.715 MB / 1.39 GB, free: 352 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.5178, allocations: 223.5 kB / 1.39 GB, free: 120 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.5179, allocations: 4.188 kB / 1.39 GB, free: 116 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5179, allocations: 30.75 kB / 1.39 GB, free: 76 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 3.347e-06/0.5179, allocations: 0 / 1.39 GB, free: 76 kB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0009899/0.5189, allocations: 378.3 kB / 1.391 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.519, allocations: 51.41 kB / 1.391 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.5197, allocations: 0.5539 MB / 1.391 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.5198, allocations: 37.64 kB / 1.391 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.5201, allocations: 359.3 kB / 1.392 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.131e-05/0.5201, allocations: 70.98 kB / 1.392 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.5202, allocations: 12 kB / 1.392 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.5204, allocations: 370.7 kB / 1.392 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.5207, allocations: 136.8 kB / 1.392 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.5211, allocations: 260.4 kB / 1.393 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.5215, allocations: 154.3 kB / 1.393 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5215, allocations: 0 / 1.393 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009135/0.5224, allocations: 479.8 kB / 1.393 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.5225, allocations: 11.94 kB / 1.393 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5225, allocations: 7.938 kB / 1.393 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.5225, allocations: 4 kB / 1.393 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.5229, allocations: 91.89 kB / 1.393 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.5229, allocations: 7.938 kB / 1.393 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.5233, allocations: 83.25 kB / 1.393 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.5234, allocations: 16 kB / 1.393 GB, free: 12.94 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.damLim.noZerMin.greHys.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.noZerMin.greHys.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002894/0.5237, allocations: 195.4 kB / 1.394 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.5238, allocations: 55.25 kB / 1.394 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000761/0.5246, allocations: 324.4 kB / 1.394 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5246, allocations: 4 kB / 1.394 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5246, allocations: 0 / 1.394 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5246, allocations: 3.984 kB / 1.394 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.526, allocations: 0.9491 MB / 1.395 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.526, allocations: 0 / 1.395 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.5263, allocations: 47.97 kB / 1.395 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.5263, allocations: 4 kB / 1.395 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.5263, allocations: 8.188 kB / 1.395 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.5263, allocations: 15.89 kB / 1.395 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5263, allocations: 0 / 1.395 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006991/0.527, allocations: 0.4999 MB / 1.395 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.5272, allocations: 148.3 kB / 1.396 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.5272, allocations: 11.95 kB / 1.396 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.5275, allocations: 27.97 kB / 1.396 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.5276, allocations: 19.97 kB / 1.396 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5276, allocations: 12 kB / 1.396 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004764/0.5281, allocations: 423.1 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5281, allocations: 0 / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004338/0.5285, allocations: 95.78 kB / 1.396 GB, free: 9.945 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (damLim1.noZerMin.greHys.y) * Number of discrete states: 1 (damLim1.noZerMin.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.0001598/0.5287, allocations: 119.9 kB / 1.396 GB, free: 9.82 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.5294, allocations: 319.5 kB / 1.397 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5294, allocations: 0 / 1.397 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.5297, allocations: 134.2 kB / 1.397 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.5305, allocations: 200.3 kB / 1.397 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.532, allocations: 1.012 MB / 1.398 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.5325, allocations: 0.8788 MB / 1.399 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003075/0.5328, allocations: 72.91 kB / 1.399 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5329, allocations: 47.38 kB / 1.399 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of SimCode: time 3.1e-07/0.5329, allocations: 0 / 1.399 GB, free: 7.098 MB / 0.9011 GB Notification: Performance of Templates: time 0.009869/0.5428, allocations: 4.742 MB / 1.403 GB, free: 2.441 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches