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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.68/1.68, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 86.53 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.562e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6883/0.8982, allocations: 135.7 MB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.8985, allocations: 81.75 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.9182, allocations: 6.857 MB / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9182, allocations: 0 / 1.031 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.9183, allocations: 8 kB / 1.031 GB, free: 9.195 MB / 0.6511 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.0007197/0.919, allocations: 492.6 kB / 1.032 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9191, allocations: 8.031 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.9191, allocations: 41.73 kB / 1.032 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.9192, allocations: 27.72 kB / 1.032 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.9196, allocations: 293.3 kB / 1.032 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.9196, allocations: 11 kB / 1.032 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.9197, allocations: 15.17 kB / 1.032 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.9199, allocations: 126.7 kB / 1.032 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.9199, allocations: 0 / 1.032 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.92, allocations: 4 kB / 1.032 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.92, allocations: 4 kB / 1.032 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.9201, allocations: 68.98 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008496/0.921, allocations: 0.5426 MB / 1.033 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.9212, allocations: 117.1 kB / 1.033 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/0.9213, allocations: 46.58 kB / 1.033 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.9213, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.9215, allocations: 125.5 kB / 1.033 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.9215, allocations: 0 / 1.033 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0003846/0.9219, allocations: 164.9 kB / 1.033 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.922, allocations: 55.41 kB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.9224, allocations: 296.8 kB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.9224, allocations: 32.08 kB / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.9225, allocations: 142.8 kB / 1.034 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.9225, allocations: 46.72 kB / 1.034 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.9226, allocations: 7.75 kB / 1.034 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9227, allocations: 336.9 kB / 1.034 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.9228, allocations: 76.8 kB / 1.034 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.923, allocations: 130.7 kB / 1.034 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.9232, allocations: 98.45 kB / 1.034 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9232, allocations: 0 / 1.034 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004038/0.9236, allocations: 274.8 kB / 1.035 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9236, allocations: 11.95 kB / 1.035 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.9236, allocations: 192 / 1.035 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.9236, allocations: 8 kB / 1.035 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.9239, allocations: 51.16 kB / 1.035 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.9239, allocations: 0 / 1.035 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.9241, allocations: 31.2 kB / 1.035 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.9241, allocations: 11.56 kB / 1.035 GB, free: 5.824 MB / 0.6511 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,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.9242, allocations: 125.5 kB / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.9243, allocations: 27.7 kB / 1.035 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.9246, allocations: 195.9 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.9247, allocations: 0 / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9247, allocations: 0 / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9247, allocations: 0 / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.9254, allocations: 0.5388 MB / 1.036 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9254, allocations: 8 kB / 1.036 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.9255, allocations: 15.98 kB / 1.036 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.9256, allocations: 3.984 kB / 1.036 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.9256, allocations: 11.36 kB / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9256, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9256, allocations: 0 / 1.036 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.9259, allocations: 271.5 kB / 1.036 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.926, allocations: 108.7 kB / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.926, allocations: 3.562 kB / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.9262, allocations: 23.22 kB / 1.036 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.9263, allocations: 15.86 kB / 1.036 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.9263, allocations: 11.98 kB / 1.036 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002048/0.9265, allocations: 197.7 kB / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9265, allocations: 0 / 1.036 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003223/0.9269, allocations: 70.7 kB / 1.036 GB, free: 4.336 MB / 0.6511 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.9282, allocations: 1.08 MB / 1.037 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.9285, allocations: 167.8 kB / 1.038 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.9285, allocations: 384 / 1.038 GB, free: 3.246 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.9287, allocations: 61.62 kB / 1.038 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.929, allocations: 45.58 kB / 1.038 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008013/0.9298, allocations: 384.2 kB / 1.038 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.9302, allocations: 0.7622 MB / 1.039 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.9303, allocations: 30.06 kB / 1.039 GB, free: 2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.9304, allocations: 76.59 kB / 1.039 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of SimCode: time 5.11e-07/0.9304, allocations: 0 / 1.039 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.9489, allocations: 4.968 MB / 1.044 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/0.9492, allocations: 204.5 kB / 1.044 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.821, allocations: 0 / 1.044 GB, free: 12.88 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)