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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001875/0.001875, allocations: 108 kB / 15.6 MB, free: 132 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.00207/0.00207, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 71.88 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8289, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002927/0.8319, allocations: 1.172 MB / 1.019 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.8333, allocations: 1.003 MB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.8335, allocations: 11.94 kB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001634/0.8336, allocations: 23.67 kB / 1.02 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.8337, allocations: 23.73 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.834, allocations: 107.8 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.8344, allocations: 243.5 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.8347, allocations: 123.6 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.8349, allocations: 87.59 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.835, allocations: 87.55 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.386e-05/0.835, allocations: 24 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.8351, allocations: 27.94 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.8351, allocations: 55.83 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.8353, allocations: 103.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.8356, allocations: 321 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8356, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8356, allocations: 0 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.8356, allocations: 0 / 1.021 GB, free: 15.24 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.0007851/0.8364, allocations: 0.4969 MB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8365, allocations: 12.03 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.8365, allocations: 28.66 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000455/0.837, allocations: 272.3 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.837, allocations: 16.75 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.8371, allocations: 20.38 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.8375, allocations: 222.3 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.8376, allocations: 4.188 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.8376, allocations: 15.94 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8376, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.838, allocations: 157 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.8392, allocations: 0.7088 MB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.8394, allocations: 98.45 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.8396, allocations: 44.84 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.8396, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.8396, allocations: 34.56 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.8396, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005064/0.8401, allocations: 169.5 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.8402, allocations: 55.41 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.8405, allocations: 215.1 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.8405, allocations: 29.7 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.8406, allocations: 159.8 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.8407, allocations: 35.47 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/0.8407, allocations: 34.08 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8409, allocations: 330.8 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.841, allocations: 47.92 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.8413, allocations: 91.14 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.8416, allocations: 156.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8416, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004104/0.842, allocations: 177.3 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8421, allocations: 11.94 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8421, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.8421, allocations: 4 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.8423, allocations: 40.08 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8423, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8424, allocations: 27.73 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.8424, allocations: 4 kB / 1.024 GB, free: 11.29 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.0001257/0.8426, allocations: 136.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.8426, allocations: 19.75 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004162/0.843, allocations: 162.9 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8431, allocations: 4 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8431, allocations: 0 / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8431, allocations: 4 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007744/0.8439, allocations: 0.5164 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.8439, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.844, allocations: 31.91 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.844, allocations: 0 / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.844, allocations: 8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.844, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.844, allocations: 4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.8444, allocations: 257.7 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.8445, allocations: 96.92 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.8445, allocations: 0 / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.8447, allocations: 15.98 kB / 1.026 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.8447, allocations: 11.98 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.8448, allocations: 8 kB / 1.026 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001555/0.8449, allocations: 172.5 kB / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8449, allocations: 0 / 1.026 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002843/0.8452, allocations: 35.84 kB / 1.026 GB, free: 9.707 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.0001931/0.8454, allocations: 107.2 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003757/0.8458, allocations: 124 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8458, allocations: 3.938 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.846, allocations: 55.91 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.8464, allocations: 31.98 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.8471, allocations: 346.9 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.8475, allocations: 0.732 MB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.8476, allocations: 29.52 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.8477, allocations: 19.44 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.8477, allocations: 0 / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.005984/0.8537, allocations: 1.788 MB / 1.029 GB, free: 6.469 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=400 -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/jenkins/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