Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.367/1.367, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 174.8 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 93.19 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 9.281 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 106.4 MB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.4266, allocations: 133 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4269, allocations: 79.94 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.4403, allocations: 5.06 MB / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4403, allocations: 0 / 1.035 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.4404, allocations: 12 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001264/0.4417, allocations: 0.7006 MB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.4417, allocations: 8.031 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.4418, allocations: 94.5 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4419, allocations: 51.44 kB / 1.036 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.4424, allocations: 338.4 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.4424, allocations: 40.98 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.4425, allocations: 48 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007793/0.4433, allocations: 426.4 kB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4433, allocations: 0 / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.4434, allocations: 16 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4434, allocations: 16 kB / 1.037 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.444, allocations: 343.8 kB / 1.037 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.4462, allocations: 1.297 MB / 1.038 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.4468, allocations: 349.6 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.4469, allocations: 4.375 kB / 1.039 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005409/0.4474, allocations: 314.4 kB / 1.039 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 1.984e-06/0.4474, allocations: 0 / 1.039 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001203/0.4486, allocations: 0.6353 MB / 1.04 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.4488, allocations: 182.6 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.4492, allocations: 356.7 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.4492, allocations: 53.69 kB / 1.04 GB, free: 248 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.4494, allocations: 196.9 kB / 1.04 GB, free: 44 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4495, allocations: 134.4 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.4495, allocations: 8 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4497, allocations: 362.6 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.45, allocations: 157.2 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.4504, allocations: 295.5 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.4508, allocations: 198.1 kB / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4508, allocations: 0 / 1.042 GB, free: 14.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009163/0.4517, allocations: 0.5454 MB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.4517, allocations: 4 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4518, allocations: 4 kB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.4518, allocations: 4 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4522, allocations: 95.83 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.4522, allocations: 4 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.4526, allocations: 87.31 kB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.4526, allocations: 24 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$whenCondition1,mod.firOrdHolOutDam.sampleTrigger,$whenCondition2,mod.firOrdHolRetDam.sampleTrigger,$whenCondition3,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition4,modFre.firOrdHolRetDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002836/0.4529, allocations: 205.7 kB / 1.043 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.453, allocations: 43.47 kB / 1.043 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.454, allocations: 0.5519 MB / 1.043 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-06/0.4541, allocations: 8 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4541, allocations: 0 / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4541, allocations: 3.984 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.4561, allocations: 1.17 MB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.4561, allocations: 4.062 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.4563, allocations: 51.97 kB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4563, allocations: 7.938 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.4564, allocations: 23.94 kB / 1.044 GB, free: 11.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4564, allocations: 3.938 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.4564, allocations: 7.984 kB / 1.044 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4574, allocations: 0.6909 MB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4576, allocations: 128.5 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.4576, allocations: 16 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.458, allocations: 39.95 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.4581, allocations: 44.28 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.4581, allocations: 27.92 kB / 1.045 GB, free: 10.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002946/0.4584, allocations: 271.2 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4584, allocations: 0 / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004411/0.4589, allocations: 99.91 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 (modFre.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,mod.firOrdHolOutDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.001576/0.4604, allocations: 1.558 MB / 1.047 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008601/0.4613, allocations: 433.5 kB / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4613, allocations: 0 / 1.048 GB, free: 8.516 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.4617, allocations: 215.4 kB / 1.048 GB, free: 8.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.4623, allocations: 93.42 kB / 1.048 GB, free: 8.219 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4647, allocations: 3.047 MB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.465, allocations: 0.8253 MB / 1.052 GB, free: 4.203 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.4653, allocations: 60.53 kB / 1.052 GB, free: 4.141 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/0.4655, allocations: 151.4 kB / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.4655, allocations: 0 / 1.052 GB, free: 3.996 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4569/0.9224, allocations: 8.761 MB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.9228, allocations: 255.3 kB / 1.061 GB, free: 150.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.159, allocations: 0 / 1.061 GB, free: 150.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1)