Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.918/2.918, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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=2500,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_12_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=2500,variableFilter="time|ecoMod.uTSup|ecoMod.yRetDam|ecoMod.yOutDam|ecoMod1.uTSup|ecoMod1.yRetDam|ecoMod1.yOutDam|ecoMod1.yRelDam",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.8109 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.749e-05, allocations: 3.094 kB / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.002975/0.003012, allocations: 1.09 MB / 0.812 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002233/0.005245, allocations: 1.026 MB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.005494, allocations: 9.156 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.005708, allocations: 23.67 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.00587, allocations: 33.11 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.006231, allocations: 103.9 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000505/0.006736, allocations: 248 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.007003, allocations: 84.12 kB / 0.8135 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.007267, allocations: 129 kB / 0.8136 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.007398, allocations: 67.78 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.007451, allocations: 24 kB / 0.8137 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.657e-05/0.007508, allocations: 26.44 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.007576, allocations: 51.77 kB / 0.8137 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.007681, allocations: 67.83 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004732/0.008154, allocations: 338.8 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.008157, allocations: 0 / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008158, allocations: 0 / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.008167, allocations: 0 / 0.8141 GB, free: 14.71 MB / 0.7761 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.0009899/0.009157, allocations: 439.8 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.009201, allocations: 8.031 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.009321, allocations: 42.27 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.009909, allocations: 223.8 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.00994, allocations: 16.88 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.009979, allocations: 16.38 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.01058, allocations: 304.2 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.01059, allocations: 9.703 kB / 0.8151 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.01062, allocations: 12.38 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.01063, allocations: 4.375 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.01107, allocations: 158 kB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.01229, allocations: 0.5834 MB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.01255, allocations: 86.48 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.0127, allocations: 49.42 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.01273, allocations: 4.531 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.01277, allocations: 31.94 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.01277, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.000591/0.01336, allocations: 170.8 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.01342, allocations: 51.41 kB / 0.8163 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.01368, allocations: 192.6 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.0137, allocations: 30.64 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.01386, allocations: 164 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.0139, allocations: 40.53 kB / 0.8167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.01398, allocations: 29.7 kB / 0.8167 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01417, allocations: 327.7 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.01436, allocations: 43.97 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.01455, allocations: 91.34 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.01489, allocations: 144.3 kB / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01489, allocations: 0 / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004731/0.01537, allocations: 193.4 kB / 0.8175 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01538, allocations: 8.688 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01539, allocations: 0 / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.01541, allocations: 4 kB / 0.8175 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.01562, allocations: 39.91 kB / 0.8175 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.01563, allocations: 3.938 kB / 0.8175 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01575, allocations: 19.89 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.01577, allocations: 8 kB / 0.8175 GB, free: 11.01 MB / 0.7761 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.0001499/0.01592, allocations: 138.3 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.707e-05/0.01597, allocations: 17.25 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.01641, allocations: 151 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.01642, allocations: 5.094 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01642, allocations: 0 / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.01643, allocations: 7.922 kB / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.01728, allocations: 443.6 kB / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01729, allocations: 0 / 0.8183 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01742, allocations: 27.92 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.01743, allocations: 7.938 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01744, allocations: 4 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01744, allocations: 2.938 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01745, allocations: 4 kB / 0.8183 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.0179, allocations: 254 kB / 0.8185 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.01793, allocations: 15.91 kB / 0.8186 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.01797, allocations: 11.92 kB / 0.8186 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01812, allocations: 12.92 kB / 0.8186 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.01818, allocations: 15.98 kB / 0.8186 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.0182, allocations: 5.094 kB / 0.8186 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001448/0.01834, allocations: 128.1 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01834, allocations: 0 / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003215/0.01866, allocations: 40.95 kB / 0.8188 GB, free: 9.672 MB / 0.7761 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.000162/0.01882, allocations: 112.3 kB / 0.8189 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.01946, allocations: 117 kB / 0.819 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01946, allocations: 0.7188 kB / 0.819 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01962, allocations: 53.56 kB / 0.819 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.02003, allocations: 37.02 kB / 0.8191 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.02083, allocations: 346.8 kB / 0.8194 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.02099, allocations: 126.3 kB / 0.8195 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.02111, allocations: 26.22 kB / 0.8195 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.02118, allocations: 24.5 kB / 0.8196 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.02118, allocations: 0 / 0.8196 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of Templates: time 0.005918/0.0271, allocations: 1.729 MB / 0.8213 GB, free: 7.156 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.970946416957304]