Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.567/2.567, allocations: 284.9 MB / 292.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001444/0.001444, allocations: 184.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.166/2.166, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 92.39 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.751e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8008, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/1.045, allocations: 141.1 MB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.046, allocations: 81.97 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03162/1.077, allocations: 6.975 MB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.078, allocations: 0 / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.078, allocations: 4 kB / 1.108 GB, free: 8.422 MB / 0.7136 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.001029/1.079, allocations: 0.4957 MB / 1.109 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.079, allocations: 15.69 kB / 1.109 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/1.079, allocations: 32.83 kB / 1.109 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/1.079, allocations: 297.1 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/1.08, allocations: 4 kB / 1.109 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/1.08, allocations: 4 kB / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002138/1.08, allocations: 60.34 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/1.08, allocations: 94.97 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.08, allocations: 0 / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/1.08, allocations: 0 / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.08, allocations: 0 / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/1.081, allocations: 455.2 kB / 1.109 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/1.082, allocations: 106.7 kB / 1.11 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/1.082, allocations: 40.86 kB / 1.11 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/1.082, allocations: 4.203 kB / 1.11 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/1.082, allocations: 115.2 kB / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/1.082, allocations: 0 / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004952/1.083, allocations: 162.2 kB / 1.11 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/1.083, allocations: 55.39 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/1.083, allocations: 290 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/1.083, allocations: 33.69 kB / 1.11 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.083, allocations: 132.5 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/1.084, allocations: 39.61 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/1.084, allocations: 0 / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.084, allocations: 330.8 kB / 1.111 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/1.084, allocations: 75.98 kB / 1.111 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/1.084, allocations: 126.1 kB / 1.111 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/1.085, allocations: 93.62 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.085, allocations: 0 / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007505/1.085, allocations: 271.7 kB / 1.111 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.085, allocations: 8.188 kB / 1.111 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/1.085, allocations: 4 kB / 1.111 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.086, allocations: 4 kB / 1.111 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/1.086, allocations: 51.86 kB / 1.111 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.086, allocations: 4 kB / 1.111 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/1.086, allocations: 19.92 kB / 1.111 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/1.086, allocations: 12 kB / 1.111 GB, free: 4.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001376/1.086, allocations: 130 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000377/1.087, allocations: 159.5 kB / 1.112 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/1.087, allocations: 27.38 kB / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/1.087, allocations: 184.9 kB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.087, allocations: 0 / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.087, allocations: 4 kB / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.087, allocations: 0 / 1.112 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009685/1.088, allocations: 0.4987 MB / 1.112 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.088, allocations: 3.953 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/1.089, allocations: 22.3 kB / 1.112 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/1.089, allocations: 0 / 1.112 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/1.089, allocations: 0 / 1.112 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/1.089, allocations: 4 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.089, allocations: 0 / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/1.089, allocations: 269.2 kB / 1.113 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.089, allocations: 104.7 kB / 1.113 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/1.089, allocations: 3.984 kB / 1.113 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/1.09, allocations: 19.98 kB / 1.113 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/1.09, allocations: 15.97 kB / 1.113 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/1.09, allocations: 8 kB / 1.113 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002996/1.09, allocations: 194 kB / 1.113 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.09, allocations: 4 kB / 1.113 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005252/1.091, allocations: 63.83 kB / 1.113 GB, free: 3.066 MB / 0.7136 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.001779/1.092, allocations: 1.056 MB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004514/1.093, allocations: 147.8 kB / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.093, allocations: 0 / 1.114 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/1.093, allocations: 55.94 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/1.094, allocations: 44.06 kB / 1.114 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.095, allocations: 380.4 kB / 1.115 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/1.095, allocations: 0.7569 MB / 1.115 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001734/1.095, allocations: 29.67 kB / 1.115 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/1.096, allocations: 83.39 kB / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of SimCode: time 9.12e-07/1.096, allocations: 0 / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/1.144, allocations: 4.647 MB / 1.12 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/1.144, allocations: 175.8 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.591, allocations: 0 / 1.12 GB, free: 11.87 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)