Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.622/2.622, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 8 kB / 0.8709 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7599, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001422/0.7614, allocations: 0.8201 MB / 1.022 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.7625, allocations: 0.9794 MB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.7626, allocations: 7.938 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.7627, allocations: 11.86 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.7628, allocations: 31.88 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.763, allocations: 83.84 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.7632, allocations: 139.7 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.7634, allocations: 94.08 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.672e-05/0.7635, allocations: 47.73 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.7636, allocations: 63.62 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.7636, allocations: 8 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.145e-05/0.7637, allocations: 8 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.7637, allocations: 31.84 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.7638, allocations: 53.58 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.764, allocations: 257.2 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.764, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.765e-06/0.764, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.764, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007312/0.7648, allocations: 485.1 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7648, allocations: 11.98 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.7649, allocations: 23.72 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.7653, allocations: 279.1 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.7654, allocations: 16.44 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.7654, allocations: 23.95 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.7659, allocations: 225.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.7659, allocations: 3.984 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.7659, allocations: 8 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.7659, allocations: 4 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.7663, allocations: 172.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.7673, allocations: 0.7128 MB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.7675, allocations: 94.48 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.7675, allocations: 4 kB / 1.025 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.7675, allocations: 30.56 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.7676, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004937/0.7681, allocations: 189.4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.7681, allocations: 55.41 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.7683, allocations: 211.2 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.7683, allocations: 25.7 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.761e-05/0.7684, allocations: 163.8 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.7685, allocations: 35.45 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.7685, allocations: 4 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.7686, allocations: 334.8 kB / 1.026 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.7687, allocations: 47.97 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.7689, allocations: 93.06 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.769, allocations: 59.98 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7691, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003583/0.7694, allocations: 193.3 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7694, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7695, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7695, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.7697, allocations: 47.88 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7697, allocations: 0 / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.7698, allocations: 31.98 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.7698, allocations: 4 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001113/0.7699, allocations: 125.8 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.77, allocations: 19.81 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.7703, allocations: 174.8 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.7704, allocations: 4 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7704, allocations: 3.953 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7704, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.7711, allocations: 0.5202 MB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.7711, allocations: 0 / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7712, allocations: 27.92 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.7712, allocations: 8.422 kB / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.7712, allocations: 0 / 1.028 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.7712, allocations: 7.984 kB / 1.028 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7713, allocations: 4.094 kB / 1.028 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.7716, allocations: 302.9 kB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.7717, allocations: 96.86 kB / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.7717, allocations: 0 / 1.028 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.7719, allocations: 23.98 kB / 1.028 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.7719, allocations: 11.98 kB / 1.028 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.7719, allocations: 4 kB / 1.028 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001252/0.7721, allocations: 164.6 kB / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7721, allocations: 0 / 1.028 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002786/0.7724, allocations: 35.84 kB / 1.028 GB, free: 8.996 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001253/0.7725, allocations: 107.2 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.7728, allocations: 130.7 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7728, allocations: 0 / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.773, allocations: 60.41 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.7733, allocations: 36.59 kB / 1.029 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.7739, allocations: 399.6 kB / 1.029 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.7741, allocations: 0.74 MB / 1.03 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.322e-05/0.7742, allocations: 21.55 kB / 1.03 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.7743, allocations: 19.44 kB / 1.03 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7743, allocations: 0 / 1.03 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.004172/0.7785, allocations: 1.591 MB / 1.031 GB, free: 5.902 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches