Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.0009667/0.0009668, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.558/1.558, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.001075/0.001075, allocations: 91.14 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.066e-05, allocations: 7.984 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2937, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9733/1.267, allocations: 151.6 MB / 1.36 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.267, allocations: 77.67 kB / 1.361 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01284/1.28, allocations: 5.835 MB / 1.366 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.28, allocations: 3.938 kB / 1.366 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.639e-05/1.28, allocations: 11.41 kB / 1.366 GB, free: 34.42 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0007671/1.281, allocations: 0.6103 MB / 1.367 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.281, allocations: 11.59 kB / 1.367 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/1.281, allocations: 56.69 kB / 1.367 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/1.282, allocations: 369.7 kB / 1.367 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.282, allocations: 29.41 kB / 1.367 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/1.282, allocations: 48.56 kB / 1.367 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/1.282, allocations: 394 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.282, allocations: 0 / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/1.282, allocations: 18.31 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.282, allocations: 7.562 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/1.283, allocations: 278 kB / 1.368 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/1.284, allocations: 1.293 MB / 1.369 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/1.285, allocations: 238.5 kB / 1.37 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/1.285, allocations: 116.5 kB / 1.37 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/1.285, allocations: 9.156 kB / 1.37 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/1.285, allocations: 177.1 kB / 1.37 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/1.285, allocations: 0 / 1.37 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.000364/1.286, allocations: 234.3 kB / 1.37 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.286, allocations: 161 kB / 1.37 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/1.286, allocations: 358.5 kB / 1.371 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/1.286, allocations: 43.7 kB / 1.371 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.286, allocations: 223.7 kB / 1.371 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/1.286, allocations: 83.08 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/1.286, allocations: 2.938 kB / 1.371 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.286, allocations: 350.5 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/1.287, allocations: 70.81 kB / 1.371 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/1.287, allocations: 147 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/1.287, allocations: 93.22 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.287, allocations: 0 / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003348/1.287, allocations: 279.5 kB / 1.372 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.332e-05/1.287, allocations: 274.1 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/1.287, allocations: 3.938 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.287, allocations: 7.781 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/1.288, allocations: 61.94 kB / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.288, allocations: 0 / 1.372 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/1.288, allocations: 61.45 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/1.288, allocations: 13.8 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-06/1.288, allocations: 3.844 kB / 1.372 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002678/1.288, allocations: 206.5 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/1.288, allocations: 0 / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-06/1.288, allocations: 7.766 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/1.288, allocations: 57.28 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.288, allocations: 7.797 kB / 1.372 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/1.289, allocations: 57.16 kB / 1.372 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/1.289, allocations: 15.12 kB / 1.373 GB, free: 31.64 MB / 0.8386 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 (31): * Single equations (assignments): 31 * 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 8.105e-05/1.289, allocations: 111.8 kB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.289, allocations: 42.62 kB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/1.289, allocations: 272.5 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.289, allocations: 3.953 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.289, allocations: 3.844 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.289, allocations: 2.812 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/1.29, allocations: 0.7997 MB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.29, allocations: 6.438 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/1.29, allocations: 58.05 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.29, allocations: 3.969 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/1.29, allocations: 3.75 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.29, allocations: 7.938 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.29, allocations: 0 / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/1.291, allocations: 0.4938 MB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/1.291, allocations: 124.8 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/1.291, allocations: 10.5 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/1.291, allocations: 28.03 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/1.291, allocations: 28.03 kB / 1.374 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.291, allocations: 11.59 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00024/1.291, allocations: 286.3 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.5e-07/1.291, allocations: 0 / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003762/1.292, allocations: 125.2 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 27 * 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.000146/1.292, allocations: 121.6 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004407/1.292, allocations: 321.4 kB / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.292, allocations: 256 / 1.375 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/1.293, allocations: 109 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/1.293, allocations: 79.06 kB / 1.375 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/1.294, allocations: 490.6 kB / 1.376 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/1.294, allocations: 0.8144 MB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002589/1.295, allocations: 58.12 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/1.295, allocations: 29.56 kB / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.295, allocations: 0 / 1.377 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of Templates: time 0.008547/1.303, allocations: 4.252 MB / 1.381 GB, free: 29.33 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.csv","../files/Buildings_9_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