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.001781/0.001781, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 198 kB / 16.54 MB, free: 6.672 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.711/1.711, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00143/0.001431, allocations: 72.14 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2278, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003846/0.2317, allocations: 1.917 MB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.2336, allocations: 1.046 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.2338, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.2342, allocations: 95.56 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.2346, allocations: 91.58 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.235, allocations: 135.6 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.2353, allocations: 211.5 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.2356, allocations: 49.86 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.2358, allocations: 99.62 kB / 0.787 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.236, allocations: 99.59 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.2361, allocations: 15.98 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.2363, allocations: 59.91 kB / 0.7872 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2364, allocations: 59.83 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.2366, allocations: 95.39 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.2371, allocations: 263.2 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/0.2371, allocations: 0 / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2371, allocations: 3.938 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.2371, allocations: 0 / 0.7876 GB, free: 9.121 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.001195/0.2383, allocations: 0.5514 MB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.2384, allocations: 8.031 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.829e-05/0.2385, allocations: 46.73 kB / 0.7882 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.2385, allocations: 24.66 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.239, allocations: 283.8 kB / 0.7885 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.239, allocations: 8 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.239, allocations: 8 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.2393, allocations: 120 kB / 0.7886 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2394, allocations: 4 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2394, allocations: 8 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.2394, allocations: 3.938 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.2397, allocations: 87.92 kB / 0.7887 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.2405, allocations: 464.5 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.2408, allocations: 134.6 kB / 0.7893 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.241, allocations: 60.81 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.241, allocations: 4 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.2413, allocations: 123.3 kB / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2413, allocations: 0 / 0.7895 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0007958/0.2421, allocations: 252.1 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.2422, allocations: 55.41 kB / 0.7898 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.2426, allocations: 330.5 kB / 0.7901 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2426, allocations: 29.7 kB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2427, allocations: 144.5 kB / 0.7902 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.2428, allocations: 39.45 kB / 0.7903 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.2429, allocations: 57.69 kB / 0.7903 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.243, allocations: 338.8 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.2432, allocations: 91.89 kB / 0.7907 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2435, allocations: 134 kB / 0.7909 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2439, allocations: 193.3 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.2439, allocations: 3.984 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005564/0.2445, allocations: 289.1 kB / 0.7913 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2445, allocations: 11.94 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2445, allocations: 0 / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2445, allocations: 4 kB / 0.7914 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2447, allocations: 43.91 kB / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2448, allocations: 0 / 0.7914 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.2449, allocations: 28.08 kB / 0.7914 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2449, allocations: 12 kB / 0.7914 GB, free: 4.926 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.0001535/0.2451, allocations: 166.9 kB / 0.7916 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.2452, allocations: 31.59 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.2452, allocations: 22.19 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2452, allocations: 0 / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2452, allocations: 0 / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2452, allocations: 3.984 kB / 0.7916 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.246, allocations: 0.5489 MB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.246, allocations: 4 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.2461, allocations: 11.98 kB / 0.7922 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2461, allocations: 0 / 0.7922 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.2461, allocations: 8 kB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2461, allocations: 0 / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2461, allocations: 0 / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.2466, allocations: 303 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.2467, allocations: 100.8 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.2467, allocations: 4 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2469, allocations: 15.98 kB / 0.7926 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2469, allocations: 19.97 kB / 0.7926 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.247, allocations: 8 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002096/0.2472, allocations: 213.9 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2472, allocations: 0 / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003135/0.2475, allocations: 43.94 kB / 0.7929 GB, free: 3.34 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.001645/0.2491, allocations: 1.159 MB / 0.794 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005041/0.2497, allocations: 191.8 kB / 0.7942 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2497, allocations: 0 / 0.7942 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2499, allocations: 76.27 kB / 0.7943 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.2503, allocations: 52.52 kB / 0.7943 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.2536, allocations: 2.597 MB / 0.7969 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2539, allocations: 0.744 MB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.254, allocations: 37.92 kB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2541, allocations: 75.41 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.2541, allocations: 0 / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2781, allocations: 5.348 MB / 0.8029 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.39, allocations: 11.06 kB / 0.8029 GB, free: 9.156 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)