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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.yOutDamPos|mod.yRetDamPos|mod.yHeaCoi|mod.THeaSupSet|mod.TSup",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.5 MB / 257 MB, free: 6.891 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.00118/0.00118, allocations: 176.8 kB / 316.3 MB, free: 3.215 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.717/1.717, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009272/0.0009272, allocations: 85.53 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.137e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2405, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7749/1.015, allocations: 135.6 MB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.016, allocations: 87.8 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01735/1.033, allocations: 7.111 MB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.202e-06/1.033, allocations: 4 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.782e-05/1.033, allocations: 8 kB / 1.025 GB, free: 12.15 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001044/1.034, allocations: 0.6509 MB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.034, allocations: 12.03 kB / 1.025 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.951e-05/1.034, allocations: 51.34 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/1.035, allocations: 393.3 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/1.035, allocations: 15.98 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/1.035, allocations: 27.94 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004972/1.036, allocations: 279.3 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/1.036, allocations: 356.7 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.036, allocations: 7.984 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/1.036, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/1.036, allocations: 12 kB / 1.027 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0019/1.038, allocations: 1.258 MB / 1.028 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/1.039, allocations: 233.6 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/1.039, allocations: 111.1 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.781e-05/1.039, allocations: 8 kB / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/1.039, allocations: 173.1 kB / 1.028 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/1.039, allocations: 0 / 1.028 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0003848/1.04, allocations: 218.2 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/1.04, allocations: 158.2 kB / 1.029 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/1.04, allocations: 271.2 kB / 1.029 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.04, allocations: 25.7 kB / 1.029 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/1.04, allocations: 251.2 kB / 1.029 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/1.04, allocations: 84.44 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/1.04, allocations: 0 / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.04, allocations: 344.5 kB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/1.041, allocations: 76 kB / 1.03 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/1.041, allocations: 153 kB / 1.03 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/1.041, allocations: 98.73 kB / 1.03 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.041, allocations: 4 kB / 1.03 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003749/1.041, allocations: 258.1 kB / 1.03 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/1.041, allocations: 278.6 kB / 1.03 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.041, allocations: 0 / 1.03 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/1.041, allocations: 4 kB / 1.03 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/1.042, allocations: 71.45 kB / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/1.042, allocations: 4 kB / 1.03 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.042, allocations: 43.72 kB / 1.031 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/1.042, allocations: 8 kB / 1.031 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/1.042, allocations: 5.875 kB / 1.031 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003098/1.042, allocations: 204.3 kB / 1.031 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/1.042, allocations: 3.984 kB / 1.031 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/1.042, allocations: 4 kB / 1.031 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/1.043, allocations: 59.03 kB / 1.031 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.043, allocations: 8 kB / 1.031 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/1.043, allocations: 39.81 kB / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/1.043, allocations: 10.81 kB / 1.031 GB, free: 6.922 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 9.309e-05/1.043, allocations: 108.9 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/1.043, allocations: 31.62 kB / 1.031 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/1.043, allocations: 255.2 kB / 1.031 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.043, allocations: 4 kB / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.043, allocations: 0 / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.043, allocations: 0 / 1.031 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008903/1.044, allocations: 0.7743 MB / 1.032 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.044, allocations: 4 kB / 1.032 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/1.045, allocations: 59.16 kB / 1.032 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/1.045, allocations: 4 kB / 1.032 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/1.045, allocations: 4.125 kB / 1.032 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.045, allocations: 4 kB / 1.032 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.045, allocations: 0 / 1.032 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005765/1.045, allocations: 0.5045 MB / 1.033 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/1.045, allocations: 120.2 kB / 1.033 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/1.045, allocations: 0 / 1.033 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.046, allocations: 35.98 kB / 1.033 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/1.046, allocations: 19.97 kB / 1.033 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/1.046, allocations: 7.062 kB / 1.033 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001784/1.046, allocations: 205.7 kB / 1.033 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.046, allocations: 0 / 1.033 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004915/1.046, allocations: 143.1 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001715/1.047, allocations: 119.1 kB / 1.033 GB, free: 4.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005061/1.047, allocations: 337.1 kB / 1.033 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.047, allocations: 3.938 kB / 1.033 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/1.047, allocations: 102.9 kB / 1.034 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/1.048, allocations: 64.78 kB / 1.034 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/1.049, allocations: 491.9 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/1.049, allocations: 0.8271 MB / 1.035 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002554/1.049, allocations: 51.25 kB / 1.035 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.819e-05/1.049, allocations: 26.38 kB / 1.035 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.049, allocations: 0 / 1.035 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of Templates: time 0.007585/1.057, allocations: 3.606 MB / 1.039 GB, free: 15.59 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches