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.43/1.43, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 171.7 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0008127/0.0008127, allocations: 96.91 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 13.95 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2504, allocations: 106.4 MB / 0.9009 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002567/0.253, allocations: 1.648 MB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2545, allocations: 0.8895 MB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2546, allocations: 0 / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2549, allocations: 91.75 kB / 0.9035 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2552, allocations: 87.66 kB / 0.9036 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2554, allocations: 106.8 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.2557, allocations: 199.5 kB / 0.9039 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.2558, allocations: 53.58 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.256, allocations: 71.64 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2561, allocations: 91.58 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2561, allocations: 4 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.2562, allocations: 31.98 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.493e-05/0.2563, allocations: 43.84 kB / 0.9042 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.2564, allocations: 113.1 kB / 0.9043 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.2567, allocations: 235.4 kB / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2567, allocations: 0 / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.627e-06/0.2567, allocations: 0 / 0.9045 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.2567, allocations: 7.938 kB / 0.9045 GB, free: 59.55 MB / 0.6042 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.0007558/0.2575, allocations: 0.4948 MB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.2575, allocations: 12.03 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.2576, allocations: 38.73 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.2576, allocations: 24.66 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.258, allocations: 278.9 kB / 0.9053 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.258, allocations: 23.92 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.258, allocations: 12 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.2584, allocations: 135.3 kB / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2584, allocations: 0 / 0.9055 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2584, allocations: 4 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.2584, allocations: 7.922 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.2587, allocations: 107.9 kB / 0.9056 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.2594, allocations: 0.528 MB / 0.9061 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.2597, allocations: 134.6 kB / 0.9062 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.2598, allocations: 64.75 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.2599, allocations: 4 kB / 0.9063 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.2602, allocations: 139.2 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2602, allocations: 0 / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005899/0.2608, allocations: 262.2 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.2608, allocations: 59.41 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2611, allocations: 318.5 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.2611, allocations: 33.7 kB / 0.9071 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.2612, allocations: 136.5 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2613, allocations: 39.53 kB / 0.9072 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.2613, allocations: 8 kB / 0.9073 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.2614, allocations: 334.8 kB / 0.9076 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.2615, allocations: 91.95 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.2617, allocations: 149.9 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2621, allocations: 201.9 kB / 0.908 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2621, allocations: 7.938 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005142/0.2626, allocations: 304.6 kB / 0.9083 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.2627, allocations: 8 kB / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2627, allocations: 0 / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2627, allocations: 4 kB / 0.9083 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2629, allocations: 47.91 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2629, allocations: 3.984 kB / 0.9084 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.2631, allocations: 35.98 kB / 0.9084 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.2631, allocations: 15.94 kB / 0.9084 GB, free: 55.27 MB / 0.6042 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 () * 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.0001297/0.2632, allocations: 159.5 kB / 0.9086 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.2633, allocations: 23.66 kB / 0.9086 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.2633, allocations: 26.17 kB / 0.9086 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2633, allocations: 4 kB / 0.9086 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2633, allocations: 8 kB / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2633, allocations: 0 / 0.9086 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.264, allocations: 0.5624 MB / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.264, allocations: 4 kB / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.2641, allocations: 15.98 kB / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2641, allocations: 0 / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2642, allocations: 8 kB / 0.9092 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2642, allocations: 0 / 0.9092 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2642, allocations: 0 / 0.9092 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.2646, allocations: 311 kB / 0.9095 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.2646, allocations: 100.8 kB / 0.9096 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2647, allocations: 8 kB / 0.9096 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2648, allocations: 15.97 kB / 0.9096 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.2649, allocations: 15.98 kB / 0.9096 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.2649, allocations: 8 kB / 0.9096 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001621/0.2651, allocations: 204.4 kB / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2651, allocations: 0 / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002779/0.2654, allocations: 44 kB / 0.9099 GB, free: 53.67 MB / 0.6042 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.00164/0.267, allocations: 1.156 MB / 0.911 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.2675, allocations: 199.7 kB / 0.9112 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2675, allocations: 0 / 0.9112 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.2677, allocations: 75.95 kB / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2681, allocations: 56.55 kB / 0.9113 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.2711, allocations: 2.635 MB / 0.9139 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2713, allocations: 0.7518 MB / 0.9146 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001066/0.2714, allocations: 29.94 kB / 0.9147 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2716, allocations: 75.41 kB / 0.9147 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.2716, allocations: 0 / 0.9147 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.2868, allocations: 4.681 MB / 0.9193 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.287, allocations: 262.2 kB / 0.9195 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.64, allocations: 3.938 kB / 0.9195 GB, free: 43.86 MB / 0.6042 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)