Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001159/0.001158, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.91 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3272, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.00236/0.3297, allocations: 0.762 MB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3308, allocations: 0.8351 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.3309, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.3309, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.331, allocations: 3.938 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3312, allocations: 15.98 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.3313, allocations: 43.86 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3314, allocations: 19.97 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.3315, allocations: 15.92 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.3316, allocations: 27.91 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3316, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.3316, allocations: 4 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.3316, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.3317, allocations: 19.86 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.217e-05/0.3318, allocations: 43.84 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3318, allocations: 8 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3318, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3318, allocations: 0 / 1.069 GB, free: 9.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006924/0.3325, allocations: 379.7 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3326, allocations: 12.03 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.3326, allocations: 8.844 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.3327, allocations: 172.2 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3328, allocations: 8.375 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.3328, allocations: 384 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.333, allocations: 66.22 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.333, allocations: 192 / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.333, allocations: 3.938 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3331, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.3333, allocations: 47.95 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.3338, allocations: 296.7 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3341, allocations: 62.55 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.3342, allocations: 20.94 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3343, allocations: 4 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3343, allocations: 30.56 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3343, allocations: 0 / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003857/0.3347, allocations: 105.5 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3347, allocations: 51.41 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.3348, allocations: 109.8 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3349, allocations: 29.7 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3349, allocations: 88.14 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3349, allocations: 3.984 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.335, allocations: 25.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3351, allocations: 314.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3352, allocations: 19.98 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-05/0.3353, allocations: 23.97 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3355, allocations: 44.77 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3355, allocations: 4 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002501/0.3358, allocations: 77.66 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3358, allocations: 7.984 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3358, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3358, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.3359, allocations: 8.328 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3359, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3361, allocations: 28.19 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3361, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 7.641e-05/0.3362, allocations: 113.8 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.3362, allocations: 7.984 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.3365, allocations: 85.42 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3365, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3365, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3365, allocations: 0 / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3367, allocations: 181.6 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3367, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.3368, allocations: 8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3368, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3368, allocations: 3.938 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3368, allocations: 3.984 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3368, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.3371, allocations: 179.3 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3372, allocations: 81.11 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.3372, allocations: 8 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3373, allocations: 15.97 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3374, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3374, allocations: 3.984 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.3375, allocations: 91.28 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3375, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002301/0.3377, allocations: 4 kB / 1.072 GB, free: 5.922 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001129/0.3378, allocations: 107.2 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3381, allocations: 47.91 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3381, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3382, allocations: 27.97 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3386, allocations: 10.22 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.3389, allocations: 143.8 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3392, allocations: 0.677 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.789e-05/0.3392, allocations: 8 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.3393, allocations: 11.38 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3393, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.003212/0.3425, allocations: 0.6627 MB / 1.074 GB, free: 4.184 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)