Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000764/0.0007639, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005358/0.005358, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.408/1.408, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.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.0005411/0.0005412, allocations: 26.19 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00229/0.2374, allocations: 1.628 MB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2391, allocations: 1.008 MB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.2392, allocations: 3.938 kB / 0.7906 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.2395, allocations: 87.75 kB / 0.7907 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2397, allocations: 83.66 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.24, allocations: 115.8 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.2403, allocations: 203.4 kB / 0.7911 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2404, allocations: 49.92 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2406, allocations: 87.56 kB / 0.7912 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.2407, allocations: 91.53 kB / 0.7913 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.2407, allocations: 4 kB / 0.7913 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2408, allocations: 47.97 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.432e-05/0.2409, allocations: 55.77 kB / 0.7914 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.16e-05/0.241, allocations: 113.1 kB / 0.7915 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.2413, allocations: 247.1 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2413, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2413, allocations: 7.984 kB / 0.7917 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2413, allocations: 0 / 0.7917 GB, free: 7.605 MB / 0.6075 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.0008213/0.2421, allocations: 0.5129 MB / 0.7922 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2422, allocations: 8.031 kB / 0.7922 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.2422, allocations: 42.73 kB / 0.7923 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.2423, allocations: 24.66 kB / 0.7923 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.2426, allocations: 287.8 kB / 0.7926 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2427, allocations: 8 kB / 0.7926 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.2427, allocations: 12 kB / 0.7926 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.243, allocations: 124 kB / 0.7927 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.243, allocations: 3.938 kB / 0.7927 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.243, allocations: 4 kB / 0.7927 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.243, allocations: 7.938 kB / 0.7927 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.2433, allocations: 95.92 kB / 0.7928 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.2441, allocations: 456.5 kB / 0.7933 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.2444, allocations: 142.6 kB / 0.7934 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2446, allocations: 60.83 kB / 0.7934 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2446, allocations: 3.984 kB / 0.7934 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.2449, allocations: 135.2 kB / 0.7936 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.2449, allocations: 0 / 0.7936 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006719/0.2456, allocations: 268.1 kB / 0.7938 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.2456, allocations: 55.41 kB / 0.7939 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.246, allocations: 326.5 kB / 0.7942 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.246, allocations: 33.7 kB / 0.7942 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.571e-05/0.2461, allocations: 144.5 kB / 0.7944 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.2461, allocations: 43.45 kB / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.2462, allocations: 33.7 kB / 0.7944 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2463, allocations: 338.8 kB / 0.7948 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.2465, allocations: 87.95 kB / 0.7948 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2468, allocations: 145.9 kB / 0.795 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.2472, allocations: 208.9 kB / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2472, allocations: 0 / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005493/0.2478, allocations: 297.1 kB / 0.7955 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2478, allocations: 11.94 kB / 0.7955 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2478, allocations: 3.938 kB / 0.7955 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2478, allocations: 4 kB / 0.7955 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.248, allocations: 52.09 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2481, allocations: 4 kB / 0.7955 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.2482, allocations: 23.89 kB / 0.7956 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2483, allocations: 12 kB / 0.7956 GB, free: 3.391 MB / 0.6075 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,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,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 (31): * Single equations (assignments): 31 * 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.0001412/0.2484, allocations: 166.9 kB / 0.7957 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.2484, allocations: 27.66 kB / 0.7958 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.2485, allocations: 30.17 kB / 0.7958 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2485, allocations: 4 kB / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2485, allocations: 0 / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2485, allocations: 0 / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007821/0.2493, allocations: 0.5567 MB / 0.7963 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2493, allocations: 4 kB / 0.7963 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.2494, allocations: 15.98 kB / 0.7964 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2494, allocations: 0 / 0.7964 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2494, allocations: 4 kB / 0.7964 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2494, allocations: 7.984 kB / 0.7964 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2495, allocations: 0 / 0.7964 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004478/0.2499, allocations: 309.1 kB / 0.7967 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.25, allocations: 96.92 kB / 0.7968 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.25, allocations: 11.98 kB / 0.7968 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2502, allocations: 15.98 kB / 0.7968 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.2502, allocations: 15.98 kB / 0.7968 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2503, allocations: 7.984 kB / 0.7968 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001904/0.2505, allocations: 210 kB / 0.797 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2505, allocations: 0 / 0.797 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003054/0.2508, allocations: 55.83 kB / 0.7971 GB, free: 1.773 MB / 0.6075 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.001599/0.2524, allocations: 1.159 MB / 0.7982 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.2528, allocations: 199.5 kB / 0.7984 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2528, allocations: 0 / 0.7984 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.253, allocations: 76.28 kB / 0.7985 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2535, allocations: 60.42 kB / 0.7985 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.2568, allocations: 2.675 MB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2571, allocations: 0.7479 MB / 0.8019 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.969e-05/0.2572, allocations: 33.94 kB / 0.8019 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.2573, allocations: 75.41 kB / 0.802 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2573, allocations: 0 / 0.802 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.2719, allocations: 4.844 MB / 0.8067 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.2721, allocations: 251.8 kB / 0.8069 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.962, allocations: 0 / 0.8069 GB, free: 7.785 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)