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.001263/0.001263, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001305/0.001305, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.552/1.552, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001959, allocations: 62.62 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002922/0.4198, allocations: 0.8304 MB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.4215, allocations: 1.252 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.4216, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.4217, allocations: 3.938 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.018e-05/0.4218, allocations: 15.91 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008598/0.4227, allocations: 230 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.423, allocations: 271.4 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.4232, allocations: 53.08 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.4233, allocations: 99.8 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.4235, allocations: 95.69 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.4235, allocations: 24 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.4236, allocations: 35.98 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.4237, allocations: 35.91 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.4238, allocations: 99.61 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.4241, allocations: 239.6 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4242, allocations: 3.938 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4242, allocations: 4 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.4242, allocations: 0 / 1.071 GB, free: 7.512 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.0006608/0.4248, allocations: 498.5 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4249, allocations: 19.97 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.425, allocations: 16.84 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4255, allocations: 232.3 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.4256, allocations: 16.36 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.4256, allocations: 24.38 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4259, allocations: 134.7 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4259, allocations: 3.938 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.4259, allocations: 8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4259, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.4261, allocations: 67.95 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.4267, allocations: 456.1 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.4269, allocations: 94.55 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.427, allocations: 48.77 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.427, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.4273, allocations: 128.1 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 4.428e-06/0.4273, allocations: 8 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004418/0.4277, allocations: 242.3 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.4278, allocations: 63.28 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4279, allocations: 132.9 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.428, allocations: 33.7 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.692e-05/0.4281, allocations: 116.5 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.4281, allocations: 31.64 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.4282, allocations: 69.67 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4284, allocations: 318.8 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4285, allocations: 67.95 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.4287, allocations: 130.5 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.429, allocations: 213 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.429, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004741/0.4294, allocations: 320.5 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.4295, allocations: 63.39 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4295, allocations: 4 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4295, allocations: 4 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.4296, allocations: 15.92 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4296, allocations: 3.938 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.4299, allocations: 64.03 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.43, allocations: 16 kB / 1.074 GB, free: 3.598 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.0001344/0.4301, allocations: 137.7 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.4301, allocations: 15.84 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.4302, allocations: 12.84 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4302, allocations: 0 / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.4302, allocations: 11.98 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4302, allocations: 3.984 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.4307, allocations: 488.3 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4307, allocations: 0 / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.4308, allocations: 7.984 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4308, allocations: 3.938 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4308, allocations: 0 / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4308, allocations: 4 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4308, allocations: 4 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.4311, allocations: 291.2 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.4312, allocations: 92.86 kB / 1.075 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.4312, allocations: 4 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.4313, allocations: 7.984 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.4313, allocations: 7.984 kB / 1.075 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.4314, allocations: 12 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.4314, allocations: 99.27 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4315, allocations: 0 / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003242/0.4318, allocations: 47.98 kB / 1.076 GB, free: 2.27 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.0001961/0.432, allocations: 107.7 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.4325, allocations: 304.7 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4325, allocations: 4.438 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4326, allocations: 75.97 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4329, allocations: 31.89 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.4335, allocations: 299.4 kB / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4338, allocations: 0.7046 MB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.4339, allocations: 17.08 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.4339, allocations: 15.44 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.4339, allocations: 0 / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of Templates: time 0.005639/0.4396, allocations: 2.135 MB / 1.079 GB, free: 14.53 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)