Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001/0.001, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007842/0.007843, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.584/1.584, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003703, allocations: 14.25 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4183, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001541/0.4199, allocations: 495.3 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.4223, allocations: 1.256 MB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.4223, allocations: 0 / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.4224, allocations: 15.86 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.4225, allocations: 7.938 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.4233, allocations: 238.5 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4235, allocations: 227.4 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.4237, allocations: 53.08 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4238, allocations: 83.8 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.424, allocations: 75.7 kB / 1.077 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.424, allocations: 12 kB / 1.077 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-05/0.4241, allocations: 31.92 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.4242, allocations: 23.91 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4243, allocations: 109.4 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.4246, allocations: 219.5 kB / 1.077 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4246, allocations: 8 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4246, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.4246, allocations: 0 / 1.077 GB, free: 4.73 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.0006159/0.4253, allocations: 450.7 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.4253, allocations: 8.031 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.4254, allocations: 20.75 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.426, allocations: 266.6 kB / 1.078 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4261, allocations: 8.375 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.4261, allocations: 20.38 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.4264, allocations: 132.1 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4264, allocations: 3.938 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.4264, allocations: 8 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4264, allocations: 0 / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4266, allocations: 67.95 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.4272, allocations: 456.2 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4274, allocations: 98.47 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.563e-05/0.4275, allocations: 40.84 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.4275, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.4277, allocations: 151.3 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.4278, allocations: 0 / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004461/0.4282, allocations: 241.4 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4283, allocations: 55.41 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.4284, allocations: 145.6 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.4284, allocations: 33.7 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.4285, allocations: 108.5 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.4286, allocations: 31.55 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.4286, allocations: 41.7 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4287, allocations: 318.8 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.4289, allocations: 67.95 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.4291, allocations: 138.4 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.4293, allocations: 216.8 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4293, allocations: 0 / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004609/0.4298, allocations: 304.7 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.4299, allocations: 67.39 kB / 1.08 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4299, allocations: 8.25 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4299, allocations: 0 / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.945e-05/0.4299, allocations: 4 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.43, allocations: 7.938 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.4303, allocations: 83.78 kB / 1.08 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.392e-05/0.4304, allocations: 15.98 kB / 1.08 GB, free: 0.8633 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.000191/0.4306, allocations: 137.8 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4306, allocations: 15.84 kB / 1.081 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.4307, allocations: 12.84 kB / 1.081 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4307, allocations: 4 kB / 1.081 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4307, allocations: 3.938 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4307, allocations: 0 / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.4313, allocations: 488.4 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4313, allocations: 0 / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.4313, allocations: 7.938 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4313, allocations: 0 / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.4314, allocations: 15.98 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4314, allocations: 0 / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4314, allocations: 0 / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.4317, allocations: 279.3 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.4318, allocations: 88.95 kB / 1.081 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4319, allocations: 11.98 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.4319, allocations: 3.938 kB / 1.081 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.432, allocations: 23.91 kB / 1.081 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.432, allocations: 12 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.4321, allocations: 91.27 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4321, allocations: 0 / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003224/0.4324, allocations: 55.89 kB / 1.082 GB, free: 15.54 MB / 0.8419 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.0002131/0.4327, allocations: 107.7 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.4331, allocations: 300.9 kB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4331, allocations: 8.062 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4332, allocations: 71.97 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4336, allocations: 21.33 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.4342, allocations: 308.1 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4345, allocations: 0.7049 MB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.4346, allocations: 17.08 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.4346, allocations: 15.44 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.4346, allocations: 0 / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.005495/0.4401, allocations: 2.019 MB / 1.085 GB, free: 11.91 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)