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.443/1.443, allocations: 252 MB / 267 MB, free: 10.98 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.0009621/0.000962, allocations: 191.8 kB / 326.6 MB, free: 2.219 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.854/1.854, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0007421/0.0007419, allocations: 88.09 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 9.438 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2292, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002267/0.2315, allocations: 1.614 MB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2328, allocations: 0.8548 MB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.233, allocations: 4 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.2334, allocations: 87.7 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.2337, allocations: 79.7 kB / 0.9029 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.2341, allocations: 97.69 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2343, allocations: 183.5 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2345, allocations: 33.84 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2346, allocations: 79.62 kB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2348, allocations: 83.59 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.2348, allocations: 4 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.2349, allocations: 28 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.235, allocations: 47.83 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.235, allocations: 57.58 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.2353, allocations: 191.8 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2353, allocations: 0 / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2353, allocations: 7.938 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2353, allocations: 4 kB / 0.9037 GB, free: 60.34 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.0006881/0.236, allocations: 0.4946 MB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2361, allocations: 8.031 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.2361, allocations: 38.56 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.2362, allocations: 27.72 kB / 0.9042 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2364, allocations: 269.8 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.2365, allocations: 12.19 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.2365, allocations: 12 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.2368, allocations: 145 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2368, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2368, allocations: 11.83 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2368, allocations: 4 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.2371, allocations: 100.5 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.2377, allocations: 0.5317 MB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2381, allocations: 138.6 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.2382, allocations: 60.83 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.2383, allocations: 7.938 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.2386, allocations: 133.1 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.2386, allocations: 0 / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005936/0.2392, allocations: 257.3 kB / 0.9058 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.2393, allocations: 55.41 kB / 0.9059 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2396, allocations: 322.4 kB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.2396, allocations: 33.7 kB / 0.9062 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.2397, allocations: 144.4 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.2398, allocations: 35.55 kB / 0.9064 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.2398, allocations: 8 kB / 0.9064 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/0.2399, allocations: 334.8 kB / 0.9067 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2401, allocations: 95.94 kB / 0.9068 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.2403, allocations: 142 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.2405, allocations: 95.34 kB / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2405, allocations: 0 / 0.9071 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005061/0.241, allocations: 297.2 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2411, allocations: 8 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2411, allocations: 0 / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2411, allocations: 12.19 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.2413, allocations: 51.91 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2413, allocations: 3.984 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2415, allocations: 31.83 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.2415, allocations: 8 kB / 0.9074 GB, free: 56.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.2416, allocations: 167.5 kB / 0.9076 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.2417, allocations: 23.72 kB / 0.9076 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.2417, allocations: 30.11 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2417, allocations: 0 / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2417, allocations: 0 / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2418, allocations: 0 / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.2424, allocations: 0.5659 MB / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2424, allocations: 0 / 0.9082 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.2425, allocations: 15.98 kB / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2425, allocations: 0 / 0.9082 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.2426, allocations: 3.984 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2426, allocations: 4 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2426, allocations: 3.938 kB / 0.9082 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.243, allocations: 309.6 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.243, allocations: 104.8 kB / 0.9086 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.2431, allocations: 4 kB / 0.9086 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2432, allocations: 23.98 kB / 0.9087 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.2433, allocations: 15.97 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2433, allocations: 8 kB / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001561/0.2435, allocations: 200.4 kB / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2435, allocations: 0 / 0.9089 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002866/0.2438, allocations: 44 kB / 0.9089 GB, free: 54.61 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 (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.001348/0.2451, allocations: 1.16 MB / 0.91 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.2456, allocations: 199.7 kB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2456, allocations: 0 / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2458, allocations: 80.31 kB / 0.9103 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.2462, allocations: 48.23 kB / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.2484, allocations: 1.47 MB / 0.9118 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2486, allocations: 0.7557 MB / 0.9125 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.2488, allocations: 33.92 kB / 0.9126 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2489, allocations: 67.41 kB / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2489, allocations: 0 / 0.9126 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.2645, allocations: 4.891 MB / 0.9174 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.2647, allocations: 242 kB / 0.9176 GB, free: 45.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.06, allocations: 0 / 0.9176 GB, free: 45.84 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)