Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001086/0.001087, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 185 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 12 kB / 0.8736 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.64, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.001397/0.6415, allocations: 0.87 MB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.6429, allocations: 0.9909 MB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.6431, allocations: 4 kB / 1.026 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.6432, allocations: 15.8 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.6433, allocations: 27.78 kB / 1.026 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.6436, allocations: 91.92 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.6439, allocations: 227.4 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.6442, allocations: 117.1 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.6443, allocations: 55.66 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.6444, allocations: 71.5 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.6445, allocations: 4 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.6445, allocations: 8 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.6445, allocations: 23.86 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.6446, allocations: 113.1 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.6449, allocations: 257.2 kB / 1.027 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6449, allocations: 0 / 1.027 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6449, allocations: 0 / 1.027 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6449, allocations: 0 / 1.027 GB, free: 13.01 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.0007176/0.6456, allocations: 483.2 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6457, allocations: 8.031 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.6457, allocations: 24.66 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6462, allocations: 276.3 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6462, allocations: 16.81 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.6463, allocations: 16.38 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.6467, allocations: 226.3 kB / 1.028 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.6467, allocations: 4.125 kB / 1.028 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.6468, allocations: 19.94 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.6468, allocations: 4 kB / 1.028 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003823/0.6472, allocations: 165 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6482, allocations: 0.7166 MB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.6485, allocations: 98.53 kB / 1.029 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.6486, allocations: 48.97 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.6487, allocations: 4 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.6487, allocations: 38.56 kB / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 2.264e-06/0.6487, allocations: 0 / 1.029 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005339/0.6492, allocations: 181.3 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.6493, allocations: 55.41 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.6495, allocations: 215.2 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.6496, allocations: 33.7 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6497, allocations: 160.2 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.6497, allocations: 39.45 kB / 1.029 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.6498, allocations: 17.72 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6499, allocations: 326.8 kB / 1.03 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.65, allocations: 51.91 kB / 1.03 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6502, allocations: 93.11 kB / 1.03 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.6505, allocations: 152.9 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6505, allocations: 0 / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003959/0.6509, allocations: 201.3 kB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.651, allocations: 9.656 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.651, allocations: 0 / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.651, allocations: 4 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.6512, allocations: 31.98 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6512, allocations: 8.094 kB / 1.03 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.6513, allocations: 27.83 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.6513, allocations: 8 kB / 1.03 GB, free: 9.031 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.6515, allocations: 126.4 kB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.6515, allocations: 19.75 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.6519, allocations: 174.8 kB / 1.031 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6519, allocations: 0 / 1.031 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.652, allocations: 4 kB / 1.031 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.652, allocations: 0 / 1.031 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.6528, allocations: 0.5319 MB / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6528, allocations: 0 / 1.031 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.6529, allocations: 23.98 kB / 1.031 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6529, allocations: 7.984 kB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6529, allocations: 4 kB / 1.031 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6529, allocations: 8.031 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.653, allocations: 4 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.6534, allocations: 261.8 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.6534, allocations: 96.92 kB / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.6535, allocations: 0 / 1.031 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.6536, allocations: 23.98 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.6537, allocations: 11.92 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.6537, allocations: 4 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001588/0.6539, allocations: 172.5 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6539, allocations: 0 / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003264/0.6542, allocations: 39.84 kB / 1.032 GB, free: 7.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.6544, allocations: 107.3 kB / 1.032 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.6548, allocations: 131.8 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6548, allocations: 0 / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.6549, allocations: 59.91 kB / 1.032 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.6554, allocations: 35.77 kB / 1.032 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.6561, allocations: 440.7 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.6564, allocations: 0.74 MB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.6565, allocations: 19.44 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6565, allocations: 0 / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.004765/0.6613, allocations: 2.187 MB / 1.035 GB, free: 3.656 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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