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.00156/0.00156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001707/0.001707, allocations: 195 kB / 16.25 MB, free: 6.633 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.886/2.886, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.3 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3922, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002579/0.3949, allocations: 0.8264 MB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3966, allocations: 1.244 MB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.905e-05/0.3967, allocations: 4 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.139e-05/0.3967, allocations: 7.922 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.3969, allocations: 11.86 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.3976, allocations: 242.6 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.398, allocations: 267.4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.3982, allocations: 53.08 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3983, allocations: 103.8 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3985, allocations: 91.69 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.3985, allocations: 24 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.3986, allocations: 35.98 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.3987, allocations: 39.89 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3988, allocations: 91.69 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3991, allocations: 247.6 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3991, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3991, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3992, allocations: 0 / 1.071 GB, free: 7.492 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.000725/0.3999, allocations: 0.4907 MB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3999, allocations: 11.97 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.4, allocations: 16.84 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005729/0.4006, allocations: 248.2 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.4006, allocations: 12.38 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.4007, allocations: 24.36 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.401, allocations: 132 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.401, allocations: 7.938 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.401, allocations: 11.98 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.401, allocations: 4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.4012, allocations: 59.97 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.4018, allocations: 464.1 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.402, allocations: 90.53 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.4021, allocations: 44.78 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.4021, allocations: 0 / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.4023, allocations: 135.2 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.4024, allocations: 4 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004383/0.4028, allocations: 239.3 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4029, allocations: 63.33 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.403, allocations: 137.7 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.403, allocations: 29.7 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.4031, allocations: 116.5 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.4031, allocations: 27.64 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.4032, allocations: 69.67 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.4034, allocations: 326.8 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4035, allocations: 71.89 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.4037, allocations: 119.7 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.4039, allocations: 217 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4039, allocations: 0 / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004551/0.4044, allocations: 316.6 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.4045, allocations: 67.39 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4045, allocations: 0 / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4045, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-05/0.4045, allocations: 11.94 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.4045, allocations: 4 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.4049, allocations: 60.03 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4049, allocations: 19.98 kB / 1.074 GB, free: 3.574 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.0001431/0.4051, allocations: 137.7 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.4051, allocations: 15.84 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.4051, allocations: 8.844 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.4051, allocations: 11.98 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4051, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4052, allocations: 3.938 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.4056, allocations: 490.3 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4056, allocations: 4 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.4057, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4057, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.4057, allocations: 7.984 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4057, allocations: 4 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4057, allocations: 4 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.406, allocations: 293.1 kB / 1.075 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.4061, allocations: 88.86 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.4061, allocations: 7.984 kB / 1.075 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.4062, allocations: 7.938 kB / 1.075 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.4062, allocations: 11.98 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.4063, allocations: 15.98 kB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.4063, allocations: 102.5 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4063, allocations: 0 / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003002/0.4066, allocations: 40 kB / 1.076 GB, free: 2.246 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.0001994/0.4068, allocations: 111.7 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004308/0.4073, allocations: 303 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4073, allocations: 12 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4074, allocations: 70.08 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.4077, allocations: 27.92 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4083, allocations: 299.4 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.4086, allocations: 0.7124 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.419e-05/0.4087, allocations: 13.09 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.4087, allocations: 15.42 kB / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4087, allocations: 0 / 1.077 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of Templates: time 0.005342/0.4141, allocations: 2.136 MB / 1.079 GB, free: 14.5 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)