Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, 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.001284/0.001284, allocations: 196.3 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.515/1.515, allocations: 222.9 MB / 0.7948 GB, free: 15.85 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.001152/0.001152, allocations: 103.7 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 54.08 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3162, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004801/0.321, allocations: 1.977 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.323, allocations: 1.112 MB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.3232, allocations: 3.938 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.3237, allocations: 91.69 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.324, allocations: 79.66 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.3245, allocations: 139.5 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000321/0.3249, allocations: 199.4 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.3251, allocations: 45.67 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3253, allocations: 91.55 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3254, allocations: 99.53 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.3254, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3256, allocations: 55.95 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.3257, allocations: 51.83 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.3258, allocations: 87.41 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.3261, allocations: 265.2 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3262, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3262, allocations: 0 / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3262, allocations: 0 / 1.222 GB, free: 113 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009533/0.3271, allocations: 0.5335 MB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3272, allocations: 15.98 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.718e-05/0.3273, allocations: 24.66 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3276, allocations: 291.3 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3277, allocations: 12 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3277, allocations: 12 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.328, allocations: 118.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.328, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.328, allocations: 3.938 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.328, allocations: 4 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002542/0.3283, allocations: 87.92 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.329, allocations: 448.4 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3293, allocations: 138.6 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.3294, allocations: 52.83 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3295, allocations: 7.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.3297, allocations: 123.3 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3297, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0005899/0.3303, allocations: 255.6 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.3304, allocations: 55.41 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.3307, allocations: 330.4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3307, allocations: 33.7 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.3308, allocations: 124.5 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3308, allocations: 51.44 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.3309, allocations: 61.69 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.236e-05/0.331, allocations: 334.8 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3312, allocations: 83.89 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3314, allocations: 138.1 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.3317, allocations: 191.6 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3317, allocations: 3.938 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000475/0.3322, allocations: 275.4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3322, allocations: 8 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3322, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3323, allocations: 4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.3325, allocations: 44.12 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3325, allocations: 7.938 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.3326, allocations: 27.83 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.3327, allocations: 8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.000155/0.3328, allocations: 162.2 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3329, allocations: 23.66 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.3329, allocations: 26.19 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3329, allocations: 4 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.3329, allocations: 4 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3329, allocations: 7.922 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006733/0.3336, allocations: 0.5489 MB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3336, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.3337, allocations: 15.98 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3337, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3338, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3338, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3338, allocations: 3.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.3345, allocations: 0.9317 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.3346, allocations: 108.8 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3346, allocations: 7.938 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3347, allocations: 15.98 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.3348, allocations: 19.97 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3348, allocations: 8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001568/0.335, allocations: 202 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.335, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004025/0.3354, allocations: 51.98 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009797/0.3364, allocations: 420.9 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.3369, allocations: 183.8 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3369, allocations: 0 / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.337, allocations: 76.22 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3375, allocations: 49.83 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.3382, allocations: 0.5906 MB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.3384, allocations: 0.7599 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.3385, allocations: 33.94 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.3386, allocations: 31.42 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of SimCode: time 4.11e-07/0.3386, allocations: 0 / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of Templates: time 0.006007/0.3446, allocations: 2.93 MB / 1.233 GB, free: 101.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)