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.001234/0.001234, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.501/1.501, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.17 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3763, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002221/0.3786, allocations: 0.783 MB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3802, allocations: 1.24 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.3803, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.3804, allocations: 15.8 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.3805, allocations: 15.8 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.3812, allocations: 253.8 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.3815, allocations: 271.4 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.3818, allocations: 49.09 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.3819, allocations: 111.7 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3821, allocations: 83.7 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.474e-05/0.3822, allocations: 24 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3823, allocations: 43.97 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3824, allocations: 35.91 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3825, allocations: 91.67 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.3828, allocations: 243.6 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3829, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3829, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3829, allocations: 0 / 1.071 GB, free: 7.207 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.0007358/0.3836, allocations: 0.4924 MB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3837, allocations: 12.03 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.3838, allocations: 16.84 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.3844, allocations: 236.2 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3844, allocations: 20.3 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.3845, allocations: 20.38 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3847, allocations: 140.1 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3847, allocations: 3.938 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.3847, allocations: 4 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.3848, allocations: 4 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3849, allocations: 67.95 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.3855, allocations: 464.1 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3857, allocations: 94.53 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.3858, allocations: 40.83 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.3858, allocations: 4 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.3861, allocations: 135.2 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3861, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000457/0.3866, allocations: 243.3 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3866, allocations: 55.56 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3867, allocations: 133.7 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3868, allocations: 33.7 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.3868, allocations: 112.4 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.3869, allocations: 39.62 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.387, allocations: 73.67 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3871, allocations: 318.8 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3873, allocations: 67.95 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3874, allocations: 131.6 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.3877, allocations: 208.7 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3877, allocations: 8 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004692/0.3882, allocations: 312.6 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.3882, allocations: 63.39 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3882, allocations: 4 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3883, allocations: 0 / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.3883, allocations: 11.92 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3883, allocations: 4 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.3887, allocations: 64.03 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3887, allocations: 12 kB / 1.075 GB, free: 3.297 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.0001309/0.3888, allocations: 145.7 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3889, allocations: 11.84 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.3889, allocations: 16.84 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3889, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3889, allocations: 3.984 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3889, allocations: 4 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.3894, allocations: 487.8 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3894, allocations: 0 / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.3894, allocations: 11.86 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3894, allocations: 4 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3895, allocations: 4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3895, allocations: 0 / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3895, allocations: 4 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3898, allocations: 287.3 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.3898, allocations: 92.86 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3898, allocations: 3.938 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.3899, allocations: 7.984 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.39, allocations: 11.98 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.39, allocations: 12 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.3901, allocations: 102.6 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3901, allocations: 0 / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003241/0.3904, allocations: 47.98 kB / 1.076 GB, free: 1.965 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.0001694/0.3906, allocations: 116.7 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.391, allocations: 301.1 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.391, allocations: 4.062 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3911, allocations: 75.89 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.3914, allocations: 29.62 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.3919, allocations: 267.5 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3922, allocations: 0.7085 MB / 1.077 GB, free: 408 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.3923, allocations: 17.08 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.3923, allocations: 11.44 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3923, allocations: 0 / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of Templates: time 0.004901/0.3972, allocations: 2.155 MB / 1.08 GB, free: 14.23 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)