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 1.574/1.574, allocations: 285.4 MB / 298 MB, free: 5.941 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.0009894/0.0009896, allocations: 180.8 kB / 366.4 MB, free: 2.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.0008392/0.0008391, allocations: 97.75 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.985e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7777, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.9725, allocations: 138.5 MB / 1.106 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.9728, allocations: 69.91 kB / 1.106 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.9845, allocations: 3.96 MB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9846, allocations: 0 / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.9846, allocations: 4 kB / 1.11 GB, free: 9.312 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.0006143/0.9852, allocations: 492.5 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.9853, allocations: 8.031 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.9853, allocations: 54.55 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.815e-05/0.9854, allocations: 27.84 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9856, allocations: 174.9 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.9856, allocations: 23.98 kB / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.511e-05/0.9857, allocations: 35.98 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.986, allocations: 199.9 kB / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.986, allocations: 0 / 1.111 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.9861, allocations: 11.98 kB / 1.111 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.9861, allocations: 7.984 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.9863, allocations: 91.95 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/0.9871, allocations: 0.5471 MB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004309/0.9876, allocations: 299.1 kB / 1.112 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.9878, allocations: 136.9 kB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.9878, allocations: 0 / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006407/0.9884, allocations: 0.5163 MB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 3.897e-06/0.9884, allocations: 0 / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0007583/0.9892, allocations: 475.8 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.9893, allocations: 59.84 kB / 1.113 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.9894, allocations: 128.9 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.9894, allocations: 57.69 kB / 1.113 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.9895, allocations: 109 kB / 1.113 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.9896, allocations: 110.8 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.9897, allocations: 16 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.9898, allocations: 332.4 kB / 1.114 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.9901, allocations: 169.3 kB / 1.114 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.9905, allocations: 272.9 kB / 1.114 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.9908, allocations: 198.6 kB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.9908, allocations: 4 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008388/0.9916, allocations: 0.537 MB / 1.115 GB, free: 4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.675e-05/0.9917, allocations: 67.39 kB / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9917, allocations: 4 kB / 1.115 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.9918, allocations: 4.312 kB / 1.115 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.9918, allocations: 31.86 kB / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.9919, allocations: 7.984 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.9923, allocations: 83.94 kB / 1.115 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.9924, allocations: 30.03 kB / 1.115 GB, free: 3.766 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.0001681/0.9925, allocations: 164.9 kB / 1.115 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.9926, allocations: 31.7 kB / 1.115 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/0.9927, allocations: 34.19 kB / 1.116 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.9927, allocations: 8 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.9927, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.9927, allocations: 3.984 kB / 1.116 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.9938, allocations: 0.8802 MB / 1.116 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.9938, allocations: 0 / 1.116 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.9939, allocations: 19.92 kB / 1.116 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9939, allocations: 0 / 1.116 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/0.994, allocations: 23.97 kB / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.994, allocations: 0 / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.994, allocations: 2.812 kB / 1.116 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007526/0.9947, allocations: 0.5739 MB / 1.117 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.9948, allocations: 92.83 kB / 1.117 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.9949, allocations: 31.97 kB / 1.117 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.995, allocations: 11.98 kB / 1.117 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.9951, allocations: 80.28 kB / 1.117 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-05/0.9952, allocations: 31.97 kB / 1.117 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.9953, allocations: 97.14 kB / 1.117 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9953, allocations: 4 kB / 1.117 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003702/0.9956, allocations: 99.98 kB / 1.117 GB, free: 1.496 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.001287/0.9969, allocations: 1.149 MB / 1.119 GB, free: 332 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009581/0.9979, allocations: 0.5714 MB / 1.119 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9979, allocations: 4.062 kB / 1.119 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.9983, allocations: 298.4 kB / 1.119 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.9986, allocations: 30.72 kB / 1.119 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.9996, allocations: 456.4 kB / 1.12 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/1, allocations: 0.7476 MB / 1.121 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001072/1, allocations: 30.97 kB / 1.121 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/1, allocations: 79.39 kB / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/1, allocations: 0 / 1.121 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/1.019, allocations: 6.085 MB / 1.127 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.019, allocations: 169.8 kB / 1.127 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.811, allocations: 0 / 1.127 GB, free: 7.977 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)