Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.478/2.478, allocations: 285.6 MB / 293.1 MB, free: 10.15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001853/0.001853, allocations: 180.9 kB / 361.4 MB, free: 6.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.875/2.875, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 91.27 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.524e-05, allocations: 8 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.179, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/1.466, allocations: 137.8 MB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/1.466, allocations: 70.83 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02165/1.488, allocations: 3.949 MB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.695e-06/1.488, allocations: 0 / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.602e-05/1.488, allocations: 7.562 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000884/1.489, allocations: 482.4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.489, allocations: 8.031 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/1.489, allocations: 23.86 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.49, allocations: 182.1 kB / 1.104 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/1.49, allocations: 11.98 kB / 1.104 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/1.49, allocations: 28 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002774/1.49, allocations: 87.98 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004412/1.49, allocations: 187.9 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.49, allocations: 0 / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/1.491, allocations: 15.97 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/1.491, allocations: 4 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/1.492, allocations: 0.4892 MB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/1.492, allocations: 278.6 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/1.493, allocations: 128.7 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/1.493, allocations: 7.953 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/1.494, allocations: 498.3 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.507e-06/1.494, allocations: 224 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001266/1.495, allocations: 439.8 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/1.495, allocations: 67.78 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/1.495, allocations: 116.9 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/1.495, allocations: 49.69 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.496, allocations: 105.3 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/1.496, allocations: 98.81 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/1.496, allocations: 4 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.496, allocations: 330.8 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/1.497, allocations: 161.3 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/1.497, allocations: 247.8 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/1.498, allocations: 138.1 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.498, allocations: 0 / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001316/1.499, allocations: 466.6 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/1.499, allocations: 67.39 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.499, allocations: 4 kB / 1.107 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/1.499, allocations: 8 kB / 1.108 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/1.499, allocations: 23.86 kB / 1.108 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.499, allocations: 11.94 kB / 1.108 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/1.5, allocations: 69.44 kB / 1.108 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/1.5, allocations: 33.78 kB / 1.108 GB, free: 8.953 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.falCleTruIni.u,falCleTruIni.u,$PRE.falCleTruIni.clr,falCleTruIni.clr,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,$PRE.truCleTruIni.clr,truCleTruIni.clr,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,$PRE.falCleFalIni.clr,falCleFalIni.clr,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,$PRE.truCleFalIni.clr,truCleFalIni.clr,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.latInp.y,latInp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002892/1.5, allocations: 151.1 kB / 1.108 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009684/1.501, allocations: 435.7 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/1.501, allocations: 23.8 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/1.501, allocations: 30.19 kB / 1.108 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.501, allocations: 8 kB / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.502, allocations: 0 / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.502, allocations: 3.984 kB / 1.108 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/1.503, allocations: 0.7988 MB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.503, allocations: 3.984 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/1.503, allocations: 11.92 kB / 1.109 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/1.503, allocations: 4 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/1.503, allocations: 23.91 kB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.503, allocations: 5.781 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.503, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.505, allocations: 0.5233 MB / 1.11 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/1.505, allocations: 96.83 kB / 1.11 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.505, allocations: 15.98 kB / 1.11 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/1.505, allocations: 13.55 kB / 1.11 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/1.505, allocations: 80.28 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.505, allocations: 31.97 kB / 1.11 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.373e-05/1.506, allocations: 90.12 kB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/1.506, allocations: 0 / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000836/1.506, allocations: 79.98 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y,truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 18 (truCleFalIni.u,truCleFalIni.clr,truCleFalIni.y,falCleTruIni.u,falCleTruIni.clr,falCleTruIni.y,truCleTruIni.u,truCleTruIni.clr,truCleTruIni.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,falCleFalIni.u,falCleFalIni.clr,falCleFalIni.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001962/1.508, allocations: 1.122 MB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00144/1.51, allocations: 0.5337 MB / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.51, allocations: 0 / 1.112 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/1.511, allocations: 277.6 kB / 1.112 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/1.511, allocations: 27.17 kB / 1.112 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.513, allocations: 411.9 kB / 1.112 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.513, allocations: 0.7374 MB / 1.113 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002226/1.514, allocations: 39.22 kB / 1.113 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.514, allocations: 83.39 kB / 1.113 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.514, allocations: 3.938 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.625, allocations: 5.618 MB / 1.119 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004749/1.626, allocations: 150.6 kB / 1.119 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/5.085, allocations: 2.125 kB / 1.119 GB, free: 13.44 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Latch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)