Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00781/0.00781, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001615/0.001616, allocations: 196.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 75.89 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7681/0.7699, allocations: 104.7 MB / 0.828 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003695/0.7737, allocations: 1.939 MB / 0.8299 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.7754, allocations: 0.9245 MB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.7755, allocations: 3.938 kB / 0.8308 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.776, allocations: 87.64 kB / 0.8309 GB, free: 15.61 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.7763, allocations: 103.5 kB / 0.831 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.7766, allocations: 122.6 kB / 0.8311 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.7769, allocations: 207.4 kB / 0.8313 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.7771, allocations: 49.64 kB / 0.8314 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.7773, allocations: 103.5 kB / 0.8315 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.7774, allocations: 95.66 kB / 0.8316 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.7775, allocations: 12 kB / 0.8316 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.7776, allocations: 39.98 kB / 0.8316 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.7777, allocations: 55.77 kB / 0.8317 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.7778, allocations: 95.39 kB / 0.8318 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.7781, allocations: 253 kB / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7781, allocations: 4 kB / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7781, allocations: 0 / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.7781, allocations: 0 / 0.832 GB, free: 14.5 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009102/0.779, allocations: 0.5297 MB / 0.8325 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.7791, allocations: 12.03 kB / 0.8326 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.7791, allocations: 20.66 kB / 0.8326 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.7795, allocations: 290.8 kB / 0.8328 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.7796, allocations: 12.12 kB / 0.8329 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.7796, allocations: 8 kB / 0.8329 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.7799, allocations: 150.1 kB / 0.833 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.7799, allocations: 0 / 0.833 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.78, allocations: 4 kB / 0.833 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.78, allocations: 4 kB / 0.833 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.7802, allocations: 87.86 kB / 0.8331 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.781, allocations: 0.5164 MB / 0.8336 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.7814, allocations: 142.5 kB / 0.8337 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.7815, allocations: 52.83 kB / 0.8338 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.7816, allocations: 7.984 kB / 0.8338 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.7819, allocations: 127.2 kB / 0.8339 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 5.18e-06/0.7819, allocations: 0 / 0.8339 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0006444/0.7825, allocations: 251.5 kB / 0.8342 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.7826, allocations: 63.33 kB / 0.8342 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.7829, allocations: 322.5 kB / 0.8345 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.783, allocations: 37.69 kB / 0.8346 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.7831, allocations: 128.5 kB / 0.8347 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.7831, allocations: 43.53 kB / 0.8347 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.7832, allocations: 65.59 kB / 0.8348 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7834, allocations: 338.8 kB / 0.8351 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.7836, allocations: 79.95 kB / 0.8352 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.7839, allocations: 143 kB / 0.8353 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.7843, allocations: 197.8 kB / 0.8355 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7843, allocations: 0 / 0.8355 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006097/0.7849, allocations: 287.9 kB / 0.8358 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7849, allocations: 11.94 kB / 0.8358 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.7849, allocations: 0 / 0.8358 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.785, allocations: 4 kB / 0.8358 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.7852, allocations: 47.91 kB / 0.8359 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7852, allocations: 4 kB / 0.8359 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.7854, allocations: 24.02 kB / 0.8359 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.7854, allocations: 15.98 kB / 0.8359 GB, free: 10.26 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,cha.u_start,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 (32): * Single equations (assignments): 32 * 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.0001918/0.7856, allocations: 163.5 kB / 0.836 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.7857, allocations: 23.66 kB / 0.8361 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.746e-05/0.7857, allocations: 26.17 kB / 0.8361 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7858, allocations: 4 kB / 0.8361 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7858, allocations: 4 kB / 0.8361 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7858, allocations: 0 / 0.8361 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.7867, allocations: 0.5528 MB / 0.8366 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7867, allocations: 0 / 0.8366 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.44e-05/0.7868, allocations: 11.98 kB / 0.8367 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.7868, allocations: 0 / 0.8367 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.7868, allocations: 19.86 kB / 0.8367 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7869, allocations: 0 / 0.8367 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7869, allocations: 3.984 kB / 0.8367 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.7874, allocations: 290.5 kB / 0.837 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.7875, allocations: 100.8 kB / 0.8371 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.7876, allocations: 4 kB / 0.8371 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.7877, allocations: 19.97 kB / 0.8371 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.7878, allocations: 19.92 kB / 0.8371 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.7878, allocations: 4 kB / 0.8371 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002703/0.7881, allocations: 208.4 kB / 0.8373 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7881, allocations: 0 / 0.8373 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003504/0.7885, allocations: 47.91 kB / 0.8373 GB, free: 8.684 MB / 0.6387 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.00119/0.7897, allocations: 407.2 kB / 0.8377 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.7902, allocations: 195.7 kB / 0.8379 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7903, allocations: 3.938 kB / 0.8379 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.7905, allocations: 75.88 kB / 0.838 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.7909, allocations: 47.36 kB / 0.838 GB, free: 8.125 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.7917, allocations: 399.6 kB / 0.8384 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.7922, allocations: 0.7483 MB / 0.8391 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.7923, allocations: 29.94 kB / 0.8392 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.7924, allocations: 35.42 kB / 0.8392 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.7924, allocations: 0 / 0.8392 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of Templates: time 0.007241/0.7996, allocations: 2.898 MB / 0.842 GB, free: 4 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)