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.ExhaustDamper.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.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|exhDamPos.yExhDamPos|exhDamPos.conP.y|exhDamPos1.yExhDamPos|exhDamPos1.conP.y|exhDamPos2.yExhDamPos|exhDamPos2.conP.y|exhDamPos.dpBui|exhDamPos.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009141/0.0009141, allocations: 181.2 kB / 487 MB, free: 5.387 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.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008066/0.0008066, allocations: 92.69 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.752e-06/6.782e-06, allocations: 7.938 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.7006, allocations: 150.3 MB / 1.352 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.7009, allocations: 75.14 kB / 1.352 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02505/0.7259, allocations: 10.91 MB / 1.363 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.726, allocations: 16 kB / 1.363 GB, free: 13.78 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001024/0.727, allocations: 0.8285 MB / 1.364 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.7271, allocations: 10.23 kB / 1.364 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.7272, allocations: 71.16 kB / 1.364 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.7276, allocations: 428.8 kB / 1.364 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.7277, allocations: 117.8 kB / 1.364 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.7278, allocations: 32 kB / 1.364 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005487/0.7283, allocations: 347.5 kB / 1.365 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.729, allocations: 467 kB / 1.365 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.729, allocations: 0 / 1.365 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.729, allocations: 3.906 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.729, allocations: 12 kB / 1.365 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.731, allocations: 1.76 MB / 1.367 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.7316, allocations: 352.2 kB / 1.367 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.7318, allocations: 175.9 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.7319, allocations: 8.312 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.7321, allocations: 197.1 kB / 1.367 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.7321, allocations: 0 / 1.367 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.0004831/0.7326, allocations: 321.5 kB / 1.368 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.7327, allocations: 136.5 kB / 1.368 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.733, allocations: 328.8 kB / 1.368 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.733, allocations: 29.52 kB / 1.368 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.7331, allocations: 243.4 kB / 1.368 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.7332, allocations: 137.9 kB / 1.369 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.7332, allocations: 0 / 1.369 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.7332, allocations: 347.9 kB / 1.369 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.7334, allocations: 120.1 kB / 1.369 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.7336, allocations: 217.5 kB / 1.369 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.7338, allocations: 135.7 kB / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7338, allocations: 0 / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004636/0.7343, allocations: 384.1 kB / 1.37 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/0.7344, allocations: 362.6 kB / 1.37 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7344, allocations: 0 / 1.37 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.7344, allocations: 8 kB / 1.37 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.7348, allocations: 107.4 kB / 1.37 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7348, allocations: 8 kB / 1.37 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.7351, allocations: 79.55 kB / 1.37 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.7352, allocations: 19.11 kB / 1.37 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.7352, allocations: 11.12 kB / 1.37 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003602/0.7355, allocations: 277 kB / 1.371 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.7355, allocations: 4 kB / 1.371 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.7355, allocations: 4 kB / 1.371 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.7358, allocations: 83.78 kB / 1.371 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.7358, allocations: 11.92 kB / 1.371 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.7361, allocations: 59.78 kB / 1.371 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.7361, allocations: 12 kB / 1.371 GB, free: 7.031 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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.449e-05/0.7362, allocations: 120.1 kB / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.7362, allocations: 43.44 kB / 1.371 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.7363, allocations: 48.2 kB / 1.371 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7363, allocations: 7.984 kB / 1.371 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7363, allocations: 0 / 1.371 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7364, allocations: 4 kB / 1.371 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.7367, allocations: 0.5092 MB / 1.371 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7367, allocations: 4 kB / 1.371 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.7371, allocations: 95.25 kB / 1.372 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7371, allocations: 4 kB / 1.372 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.7372, allocations: 0 / 1.372 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.7372, allocations: 4 kB / 1.372 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7372, allocations: 3.906 kB / 1.372 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000625/0.7378, allocations: 0.5261 MB / 1.372 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.7379, allocations: 127.6 kB / 1.372 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.7379, allocations: 4 kB / 1.372 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.7382, allocations: 55.95 kB / 1.372 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.7383, allocations: 19.41 kB / 1.372 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.7383, allocations: 19.48 kB / 1.372 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000197/0.7385, allocations: 248.1 kB / 1.373 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004319/0.7389, allocations: 187 kB / 1.373 GB, free: 5.355 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001261/0.7391, allocations: 115.2 kB / 1.373 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.7397, allocations: 0.4945 MB / 1.373 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.7397, allocations: 0 / 1.373 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.7399, allocations: 158.1 kB / 1.373 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.7404, allocations: 99.67 kB / 1.374 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.7415, allocations: 0.6593 MB / 1.374 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.742, allocations: 0.9288 MB / 1.375 GB, free: 19.18 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.742, allocations: 0 / 1.375 GB, free: 19.18 MB / 0.823 GB Notification: Performance of Templates: time 0.01093/0.7529, allocations: 7.229 MB / 1.382 GB, free: 12.07 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches