Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.00175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001447/0.001447, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.562/1.562, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.085/3.085, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001493, allocations: 67.16 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4589, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002233/0.4612, allocations: 0.8148 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4629, allocations: 1.276 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.463, allocations: 4 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.12e-05/0.463, allocations: 3.938 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.4631, allocations: 19.78 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.4638, allocations: 226.8 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.4641, allocations: 235.4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.4643, allocations: 49.09 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.4644, allocations: 95.78 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.4645, allocations: 83.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.4646, allocations: 12 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.4647, allocations: 35.98 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.4648, allocations: 35.89 kB / 1.07 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.4649, allocations: 83.69 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4652, allocations: 235.6 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4652, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4652, allocations: 3.938 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4652, allocations: 0 / 1.071 GB, free: 7.676 MB / 0.8262 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.0007091/0.4659, allocations: 494.5 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.466, allocations: 12.03 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.4661, allocations: 24.83 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.4667, allocations: 240.2 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4667, allocations: 16.36 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.4668, allocations: 20.38 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.467, allocations: 138.7 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4671, allocations: 3.938 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.4671, allocations: 4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.4671, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.4672, allocations: 75.94 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.4679, allocations: 452.2 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4681, allocations: 98.47 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.4682, allocations: 44.83 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.4682, allocations: 4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.4685, allocations: 128.9 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.4685, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004658/0.4689, allocations: 245.3 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.469, allocations: 59.41 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4691, allocations: 133.7 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.4692, allocations: 33.7 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.4693, allocations: 112.5 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.4693, allocations: 35.64 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4694, allocations: 69.67 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4696, allocations: 318.8 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4697, allocations: 71.89 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4699, allocations: 132.2 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.4702, allocations: 212.8 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4702, allocations: 4 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005176/0.4707, allocations: 319 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/0.4708, allocations: 63.39 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4708, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4708, allocations: 4 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.129e-05/0.4709, allocations: 7.938 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4709, allocations: 7.984 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.4712, allocations: 59.95 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.4713, allocations: 19.98 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * 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.0001568/0.4714, allocations: 141.7 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.4716, allocations: 11.84 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.4716, allocations: 12.84 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4716, allocations: 3.938 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4716, allocations: 0 / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4716, allocations: 3.984 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.4722, allocations: 494.3 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4722, allocations: 0 / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.4722, allocations: 3.984 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.4722, allocations: 4 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4723, allocations: 0 / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4723, allocations: 4 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4723, allocations: 4 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.4726, allocations: 291.3 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.4727, allocations: 96.84 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4727, allocations: 0 / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.4728, allocations: 11.94 kB / 1.075 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4729, allocations: 11.97 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.4729, allocations: 8 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.811e-05/0.473, allocations: 100.9 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.473, allocations: 0 / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003338/0.4733, allocations: 47.98 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001968/0.4735, allocations: 115.7 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.4739, allocations: 292.4 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.474, allocations: 0 / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4741, allocations: 75.91 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.4744, allocations: 28.42 kB / 1.076 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.475, allocations: 293.3 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4753, allocations: 0.7127 MB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.4753, allocations: 13.08 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4754, allocations: 11.44 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4754, allocations: 4 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of Templates: time 0.005576/0.481, allocations: 2.05 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)