Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007491/0.007491, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001788/0.001788, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 58.38 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4167, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.003737/0.4206, allocations: 1.183 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.4225, allocations: 0.9988 MB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.4227, allocations: 11.88 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.4228, allocations: 31.72 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.423, allocations: 27.67 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.4234, allocations: 103.8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.4238, allocations: 251.2 kB / 1.091 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.4242, allocations: 127.5 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.4243, allocations: 83.66 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.4245, allocations: 91.55 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.4246, allocations: 24 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.4246, allocations: 24 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.4247, allocations: 47.84 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.4249, allocations: 103.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.4254, allocations: 338.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4254, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4254, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.4254, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 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.001046/0.4265, allocations: 0.4952 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.181e-05/0.4266, allocations: 12.03 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.4267, allocations: 20.75 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007301/0.4274, allocations: 284.2 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.4274, allocations: 16.8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.4275, allocations: 24.31 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006856/0.4282, allocations: 230.2 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4282, allocations: 4.188 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.4283, allocations: 15.94 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.4283, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005658/0.4289, allocations: 160.8 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.4304, allocations: 0.6994 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.4307, allocations: 90.47 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.4309, allocations: 44.84 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.431, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.4311, allocations: 42.55 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.4311, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0007286/0.4319, allocations: 169.7 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.432, allocations: 55.41 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.4323, allocations: 219.1 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.4324, allocations: 29.69 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4325, allocations: 155.9 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.474e-05/0.4326, allocations: 43.39 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.4327, allocations: 33.72 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.4329, allocations: 330.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.4331, allocations: 43.97 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4333, allocations: 90.16 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.4337, allocations: 139.2 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4338, allocations: 4 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005805/0.4343, allocations: 189.2 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4344, allocations: 7.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.4344, allocations: 4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.4344, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.4347, allocations: 39.91 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4347, allocations: 160 / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.4349, allocations: 23.84 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.435, allocations: 8 kB / 1.095 GB, free: 10.13 MB / 0.8575 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.0001959/0.4352, allocations: 133.8 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.4353, allocations: 23.69 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.4359, allocations: 151 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.4359, allocations: 0 / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4359, allocations: 4 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.436, allocations: 3.984 kB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4371, allocations: 0.5163 MB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4371, allocations: 0 / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.4373, allocations: 28.02 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4373, allocations: 8 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.4374, allocations: 4 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4374, allocations: 0 / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4374, allocations: 4 kB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.4379, allocations: 261.7 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.438, allocations: 97.02 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.4381, allocations: 3.984 kB / 1.096 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4383, allocations: 23.92 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.4384, allocations: 4 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4384, allocations: 7.984 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001979/0.4386, allocations: 164.6 kB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4386, allocations: 4 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005196/0.4392, allocations: 35.94 kB / 1.096 GB, free: 8.555 MB / 0.8575 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.0001913/0.4394, allocations: 107.2 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.4399, allocations: 119.9 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/0.4399, allocations: 4.312 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.4401, allocations: 55.91 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.4407, allocations: 31.97 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008524/0.4416, allocations: 340 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.442, allocations: 0.7281 MB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000131/0.4422, allocations: 25.53 kB / 1.098 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.4422, allocations: 19.44 kB / 1.098 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.4423, allocations: 4 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.007171/0.4494, allocations: 1.813 MB / 1.1 GB, free: 5.305 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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