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.001393/0.001393, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.0129/0.0129, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.6/1.6, 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.221/3.221, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004378, allocations: 10.53 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4079, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001168/0.4091, allocations: 487.4 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.4112, allocations: 1.272 MB / 1.076 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.907e-05/0.4113, allocations: 4 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.4114, allocations: 7.875 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.4115, allocations: 11.91 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.4123, allocations: 230.9 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.4126, allocations: 227.4 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.4128, allocations: 53.06 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.413, allocations: 91.73 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4132, allocations: 71.72 kB / 1.077 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.597e-05/0.4132, allocations: 12 kB / 1.077 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.4133, allocations: 27.98 kB / 1.077 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.4134, allocations: 27.89 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4135, allocations: 105.4 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.4138, allocations: 227.5 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4138, allocations: 0 / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4139, allocations: 0 / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.4139, allocations: 4 kB / 1.077 GB, free: 4.703 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.0006498/0.4145, allocations: 450.7 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4146, allocations: 8.031 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.4147, allocations: 20.75 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/0.4154, allocations: 252.2 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.4154, allocations: 12.38 kB / 1.078 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.4155, allocations: 20.36 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.4157, allocations: 136.1 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4158, allocations: 3.938 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.4158, allocations: 4 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.4158, allocations: 3.984 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4159, allocations: 67.97 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.4166, allocations: 460.2 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.4168, allocations: 98.53 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.4169, allocations: 40.84 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.4169, allocations: 0 / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.4172, allocations: 139.1 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.4172, allocations: 0 / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004643/0.4177, allocations: 243.6 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.4177, allocations: 55.41 kB / 1.079 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4179, allocations: 145.6 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.4179, allocations: 33.7 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.418, allocations: 104.7 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.418, allocations: 35.53 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.4181, allocations: 45.7 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.4182, allocations: 318.8 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4184, allocations: 67.95 kB / 1.08 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4186, allocations: 131.6 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.4189, allocations: 216.7 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4189, allocations: 4 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000529/0.4194, allocations: 304.7 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.4195, allocations: 67.39 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4195, allocations: 4 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.4195, allocations: 0 / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.368e-05/0.4195, allocations: 11.94 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4196, allocations: 3.984 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.4199, allocations: 80.05 kB / 1.08 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.42, allocations: 19.98 kB / 1.08 GB, free: 0.8438 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.000138/0.4201, allocations: 141.7 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.4202, allocations: 15.84 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.4202, allocations: 12.83 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4202, allocations: 4 kB / 1.081 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4202, allocations: 0 / 1.081 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4202, allocations: 3.984 kB / 1.081 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.4208, allocations: 492 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4208, allocations: 0 / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.4208, allocations: 7.938 kB / 1.081 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4208, allocations: 3.984 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.4208, allocations: 4 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4208, allocations: 0 / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4209, allocations: 0 / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.4212, allocations: 291.3 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.4213, allocations: 88.94 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.4213, allocations: 4 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.4214, allocations: 0 / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.4214, allocations: 19.97 kB / 1.081 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.4214, allocations: 11.94 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.4215, allocations: 95.27 kB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4215, allocations: 0 / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003363/0.4219, allocations: 55.83 kB / 1.082 GB, free: 15.52 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.0001933/0.4221, allocations: 107.7 kB / 1.082 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004725/0.4225, allocations: 304.1 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4226, allocations: 0 / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4227, allocations: 71.97 kB / 1.082 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.423, allocations: 28.42 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.4236, allocations: 304.1 kB / 1.082 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.424, allocations: 0.7049 MB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.424, allocations: 13.08 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.4241, allocations: 15.44 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of SimCode: time 8.91e-07/0.4241, allocations: 0 / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.005571/0.4296, allocations: 2.034 MB / 1.085 GB, free: 11.89 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)