Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Enable_FreProSta,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Enable_FreProSta",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.352/4.352, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.456e-05, allocations: 5.047 kB / 0.5384 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2157, allocations: 98.74 MB / 0.6348 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.4882, allocations: 128.9 MB / 0.7607 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003973/0.4887, allocations: 79.94 kB / 0.7608 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05697/0.5457, allocations: 11.68 MB / 0.7722 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5458, allocations: 0 / 0.7722 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.471e-05/0.5458, allocations: 19.94 kB / 0.7722 GB, free: 4.891 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002231/0.5481, allocations: 0.8419 MB / 0.773 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.5482, allocations: 8.031 kB / 0.7731 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003441/0.5485, allocations: 126.6 kB / 0.7732 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.5488, allocations: 94.98 kB / 0.7733 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.5501, allocations: 491.8 kB / 0.7737 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.5503, allocations: 73.98 kB / 0.7738 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.5505, allocations: 95.98 kB / 0.7739 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.5528, allocations: 0.8664 MB / 0.7747 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.5529, allocations: 0 / 0.7747 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.553, allocations: 31.98 kB / 0.7748 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.553, allocations: 20 kB / 0.7748 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.5548, allocations: 0.5739 MB / 0.7754 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.53/1.085, allocations: 3.146 MB / 0.7784 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.086, allocations: 0.5374 MB / 0.7789 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/1.087, allocations: 254.4 kB / 0.7792 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/1.087, allocations: 11.28 kB / 0.7792 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009789/1.088, allocations: 380.2 kB / 0.7796 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 3.397e-06/1.088, allocations: 0 / 0.7796 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.001826/1.09, allocations: 0.6161 MB / 0.7802 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.09, allocations: 68.08 kB / 0.7802 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/1.091, allocations: 433.8 kB / 0.7806 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.091, allocations: 64.77 kB / 0.7807 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/1.091, allocations: 316.1 kB / 0.781 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.092, allocations: 151.7 kB / 0.7812 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/1.092, allocations: 14.41 kB / 0.7812 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.092, allocations: 375.2 kB / 0.7815 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/1.093, allocations: 207.6 kB / 0.7817 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/1.093, allocations: 456 kB / 0.7822 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/1.094, allocations: 226.4 kB / 0.7824 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.094, allocations: 4.516 kB / 0.7824 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002178/1.096, allocations: 0.6968 MB / 0.7831 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/1.096, allocations: 10.31 kB / 0.7831 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.096, allocations: 8.312 kB / 0.7831 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/1.096, allocations: 16.78 kB / 0.7831 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/1.097, allocations: 100.3 kB / 0.7832 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/1.097, allocations: 16.97 kB / 0.7832 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/1.098, allocations: 69.08 kB / 0.7833 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/1.098, allocations: 37.25 kB / 0.7833 GB, free: 131.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.enaDis.truFalHol.onDel1.u,$PRE.enaDis.truFalHol.onDel2.u,$PRE.enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.toFalse.enableFire,$PRE.enaDis.truFalHol.toTrue1.enableFire,$PRE.enaDis.truFalHol.toFalse1.enableFire,$PRE.enaDis.delOutDamOsc.u,$PRE.enaDis.delRetDam.u,$whenCondition13,$whenCondition10,$PRE.enaDis.delRetDam.t_next,$whenCondition7,$PRE.enaDis.delOutDamOsc.t_next,$whenCondition4,$PRE.enaDis.truFalHol.onDel2.t_next,$whenCondition1,$PRE.enaDis.truFalHol.onDel1.t_next,enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.stateGraphRoot.resume,enaDis.truFalHol.stateGraphRoot.suspend,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.stateGraphRoot.activeSteps,$PRE.enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.inPort[2].occupied,$PRE.enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.newActive,$PRE.enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.outputFalse.active,enaDis.truFalHol.toTrue.enableFire,$PRE.enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.inPort[2].occupied,$PRE.enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.newActive,$PRE.enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,$PRE.enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,$PRE.enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.newActive,$PRE.enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,$PRE.enaDis.hysOutTem.y,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.u,enaDis.delOutDamOsc.y,enaDis.delRetDam.u,enaDis.delRetDam.y,$PRE.enaDis.hysOutEnt.y,enaDis.hysOutEnt.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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.0003351/1.098, allocations: 213.8 kB / 0.7835 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.098, allocations: 63.55 kB / 0.7836 GB, free: 131 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/1.1, allocations: 0.6744 MB / 0.7842 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.1, allocations: 6.625 kB / 0.7842 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.1, allocations: 0 / 0.7842 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.1, allocations: 9.359 kB / 0.7842 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/1.105, allocations: 1.715 MB / 0.7859 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.105, allocations: 1.875 kB / 0.7859 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/1.105, allocations: 34.45 kB / 0.786 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/1.105, allocations: 2.375 kB / 0.786 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/1.105, allocations: 18.5 kB / 0.786 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/1.105, allocations: 2.938 kB / 0.786 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.105, allocations: 3.953 kB / 0.786 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/1.107, allocations: 0.7372 MB / 0.7867 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/1.107, allocations: 134.4 kB / 0.7868 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.107, allocations: 29.12 kB / 0.7869 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/1.108, allocations: 28.55 kB / 0.7869 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000291/1.108, allocations: 80.56 kB / 0.787 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.164e-05/1.108, allocations: 39.69 kB / 0.787 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000509/1.108, allocations: 287.6 kB / 0.7873 GB, free: 130 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.108, allocations: 0 / 0.7873 GB, free: 130 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001009/1.109, allocations: 149.4 kB / 0.7874 GB, free: 130 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 62 (enaDis.delRetDam.u,enaDis.delOutDamOsc.u,enaDis.truFalHol.initialStep.active,enaDis.truFalHol.onDel2.u,enaDis.truFalHol.outputTrue.localActive,enaDis.truFalHol.outputTrue.active,enaDis.truFalHol.onDel1.u,enaDis.truFalHol.outputFalse.localActive,enaDis.truFalHol.outputFalse.active,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,enaDis.uFreProSta,enaDis.truFalHol.u,enaDis.truFalHol.onDel1.y,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.onDel2.y,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.stateGraphRoot.activeSteps,enaDis.truFalHol.outputFalse.inPort[2].occupied,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputFalse.oldActive,enaDis.truFalHol.toTrue.enableFire,enaDis.truFalHol.outputTrue.inPort[2].occupied,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.outputTrue.oldActive,enaDis.truFalHol.toFalse.enableFire,enaDis.truFalHol.and2.y,enaDis.truFalHol.and1.y,enaDis.truFalHol.initialStep.localActive,enaDis.truFalHol.initialStep.outPort[2].available,enaDis.truFalHol.initialStep.newActive,enaDis.truFalHol.initialStep.oldActive,enaDis.truFalHol.toTrue1.enableFire,enaDis.truFalHol.toFalse1.enableFire,enaDis.andEnaDis.u1,enaDis.andEnaDis.u2,enaDis.hysOutTem.y,enaDis.and2.y,enaDis.and3.y,enaDis.delOutDamOsc.y,enaDis.delOutDamOsc.t_next,enaDis.delRetDam.y,enaDis.delRetDam.t_next,enaDis.hysOutEnt.y,booPul1.y,booPul1.pulseStart) * Number of discrete states: 9 (enaDis.delRetDam.t_next,enaDis.delOutDamOsc.t_next,enaDis.truFalHol.onDel2.t_next,enaDis.truFalHol.onDel1.t_next,enaDis.truFalHol.outputFalse.newActive,enaDis.truFalHol.outputTrue.newActive,enaDis.truFalHol.initialStep.newActive,enaDis.hysOutTem.y,enaDis.hysOutEnt.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002106/1.112, allocations: 1.346 MB / 0.7887 GB, free: 129.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001727/1.113, allocations: 0.5909 MB / 0.7893 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.113, allocations: 1.812 kB / 0.7893 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009023/1.114, allocations: 325.8 kB / 0.7896 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009243/1.115, allocations: 85.78 kB / 0.7897 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/1.119, allocations: 0.95 MB / 0.7906 GB, free: 128.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/1.12, allocations: 0.9193 MB / 0.7915 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006165/1.12, allocations: 90.84 kB / 0.7916 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/1.121, allocations: 247.8 kB / 0.7918 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.243e-06/1.121, allocations: 2.297 kB / 0.7919 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0501/1.171, allocations: 12.08 MB / 0.8036 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/1.171, allocations: 222.5 kB / 0.8039 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.95, allocations: 0 / 0.8039 GB, free: 127.1 MB / 0.6511 GB