Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.277/2.277, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.001709, allocations: 190.4 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 107.7 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 57.3 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3135, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002643/0.3162, allocations: 1.082 MB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3182, allocations: 1.343 MB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.3183, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 6.459e-05/0.3184, allocations: 15.86 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.3186, allocations: 27.78 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.3194, allocations: 242.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.3196, allocations: 287.3 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3198, allocations: 45.66 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3199, allocations: 103.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3201, allocations: 91.58 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3201, allocations: 16 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.801e-05/0.3202, allocations: 31.97 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.3202, allocations: 39.84 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3203, allocations: 95.55 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3206, allocations: 325.1 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3206, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3207, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.3207, allocations: 3.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008342/0.3215, allocations: 0.5566 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3216, allocations: 15.98 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.657e-05/0.3216, allocations: 28.73 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.3223, allocations: 307.8 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3224, allocations: 16.31 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.3224, allocations: 16.38 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.3227, allocations: 142 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3227, allocations: 7.922 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3227, allocations: 3.938 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3227, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.3229, allocations: 79.86 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.3236, allocations: 0.6375 MB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.3239, allocations: 135.8 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.324, allocations: 54.8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3241, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.3243, allocations: 145.8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.3243, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0004846/0.3248, allocations: 201.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.3249, allocations: 114.8 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.325, allocations: 191.7 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.325, allocations: 37.7 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3251, allocations: 128.3 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3251, allocations: 35.48 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3252, allocations: 69.67 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/0.3253, allocations: 326.8 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.3255, allocations: 92.44 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.3258, allocations: 160.5 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.3261, allocations: 225.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3261, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005344/0.3266, allocations: 348.7 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.3267, allocations: 63.39 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3267, allocations: 4 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3267, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.38e-05/0.3268, allocations: 19.92 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3268, allocations: 7.938 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3272, allocations: 71.89 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3272, allocations: 23.97 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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.0001091/0.3273, allocations: 131.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3273, allocations: 27.75 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3276, allocations: 86.64 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3276, allocations: 3.984 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3276, allocations: 7.938 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3276, allocations: 4.219 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.3278, allocations: 241.5 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3278, allocations: 0 / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.3278, allocations: 19.92 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3279, allocations: 11.92 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3279, allocations: 4 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3279, allocations: 0 / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3279, allocations: 7.938 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.3284, allocations: 0.7972 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.3285, allocations: 96.8 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3285, allocations: 4.188 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.3286, allocations: 19.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.3287, allocations: 19.95 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3287, allocations: 15.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.3288, allocations: 147 kB / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3288, allocations: 0 / 1.227 GB, free: 107 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003445/0.3292, allocations: 47.91 kB / 1.227 GB, free: 107 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001739/0.3293, allocations: 112.3 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000462/0.3298, allocations: 310.6 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3298, allocations: 8.25 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.33, allocations: 63.91 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.3303, allocations: 35.91 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.3308, allocations: 481.1 kB / 1.228 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/0.331, allocations: 0.7206 MB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.927e-05/0.3311, allocations: 29.55 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.3311, allocations: 27.42 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3311, allocations: 0 / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of Templates: time 0.005363/0.3365, allocations: 3.116 MB / 1.232 GB, free: 102 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)