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.172/2.172, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.00117/0.00117, allocations: 188.5 kB / 487.4 MB, free: 5.078 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.508/1.508, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008554, allocations: 87.92 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.242, allocations: 150.9 MB / 1.353 GB, free: 18.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004467/1.242, allocations: 78.45 kB / 1.353 GB, free: 18.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01537/1.258, allocations: 5.792 MB / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.258, allocations: 0 / 1.359 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.571e-05/1.258, allocations: 11.69 kB / 1.359 GB, free: 33.94 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.0009135/1.259, allocations: 0.6201 MB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.259, allocations: 7.688 kB / 1.36 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.367e-05/1.259, allocations: 55.58 kB / 1.36 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/1.259, allocations: 370.8 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.259, allocations: 19.5 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/1.259, allocations: 28.66 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000421/1.26, allocations: 253.9 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/1.26, allocations: 345.1 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/1.26, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/1.26, allocations: 0 / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/1.26, allocations: 11.25 kB / 1.361 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/1.262, allocations: 1.175 MB / 1.362 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/1.262, allocations: 230.8 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/1.263, allocations: 108.1 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/1.263, allocations: 1.312 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/1.263, allocations: 174.5 kB / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.232e-06/1.263, allocations: 0 / 1.362 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0003461/1.263, allocations: 205.1 kB / 1.363 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.263, allocations: 162.1 kB / 1.363 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/1.263, allocations: 249.9 kB / 1.363 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.263, allocations: 29.58 kB / 1.363 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.264, allocations: 232.9 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/1.264, allocations: 70.73 kB / 1.363 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/1.264, allocations: 4 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.264, allocations: 341 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/1.264, allocations: 71.5 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/1.264, allocations: 139.5 kB / 1.364 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/1.264, allocations: 91.25 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.264, allocations: 0 / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003051/1.265, allocations: 250 kB / 1.364 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/1.265, allocations: 278.4 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.265, allocations: 0 / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.265, allocations: 7.781 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/1.265, allocations: 61.47 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.265, allocations: 3.969 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/1.265, allocations: 42.48 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/1.265, allocations: 14.56 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/1.265, allocations: 3.875 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002459/1.265, allocations: 175.9 kB / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-06/1.265, allocations: 0 / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/1.266, allocations: 2.578 kB / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/1.266, allocations: 59.03 kB / 1.365 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/1.266, allocations: 7.953 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.266, allocations: 43.31 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.266, allocations: 11.34 kB / 1.365 GB, free: 31.23 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.947e-05/1.266, allocations: 108.8 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/1.266, allocations: 23.25 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/1.266, allocations: 243.5 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/1.266, allocations: 6.422 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.266, allocations: 3.953 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.266, allocations: 0 / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/1.267, allocations: 0.7141 MB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.267, allocations: 7.906 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/1.267, allocations: 58.17 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.267, allocations: 3.75 kB / 1.366 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/1.267, allocations: 8.016 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.267, allocations: 3.875 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.267, allocations: 2.719 kB / 1.366 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/1.268, allocations: 473.4 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/1.268, allocations: 106.1 kB / 1.367 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/1.268, allocations: 7.828 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/1.268, allocations: 35.86 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/1.268, allocations: 20.64 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.268, allocations: 7.812 kB / 1.367 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001541/1.269, allocations: 186.6 kB / 1.367 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.269, allocations: 3.906 kB / 1.367 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004253/1.269, allocations: 126.7 kB / 1.367 GB, free: 30.27 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.0001613/1.269, allocations: 124.8 kB / 1.367 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004248/1.27, allocations: 301.3 kB / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.27, allocations: 0 / 1.367 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/1.27, allocations: 94.81 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/1.27, allocations: 57.56 kB / 1.367 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/1.271, allocations: 463 kB / 1.368 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/1.271, allocations: 0.8132 MB / 1.369 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002274/1.272, allocations: 41.64 kB / 1.369 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/1.272, allocations: 29.3 kB / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.272, allocations: 0 / 1.369 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.0087/1.28, allocations: 3.204 MB / 1.372 GB, free: 29.02 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