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.001053/0.001054, 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.001108/0.001108, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.657/1.657, allocations: 292.3 MB / 0.5489 GB, free: 13.51 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.00215/0.00215, allocations: 70.33 kB / 0.6716 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2233, allocations: 114.5 MB / 0.7835 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003111/0.2265, allocations: 1.92 MB / 0.7854 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.2281, allocations: 1.038 MB / 0.7864 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.2282, allocations: 4 kB / 0.7864 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.2285, allocations: 99.55 kB / 0.7865 GB, free: 10.42 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.000248/0.2288, allocations: 95.59 kB / 0.7866 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2291, allocations: 127.6 kB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.2294, allocations: 215.4 kB / 0.7869 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2295, allocations: 53.92 kB / 0.7869 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2297, allocations: 95.56 kB / 0.787 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2298, allocations: 107.6 kB / 0.7871 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2299, allocations: 12 kB / 0.7872 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.23, allocations: 51.98 kB / 0.7872 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.2301, allocations: 59.81 kB / 0.7873 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.2302, allocations: 95.34 kB / 0.7874 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.2305, allocations: 263.2 kB / 0.7876 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2305, allocations: 4 kB / 0.7876 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2305, allocations: 4 kB / 0.7876 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.2305, allocations: 0 / 0.7876 GB, free: 9.262 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.0008437/0.2314, allocations: 0.5413 MB / 0.7881 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2314, allocations: 12.03 kB / 0.7881 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2315, allocations: 38.73 kB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.2315, allocations: 24.66 kB / 0.7882 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.2319, allocations: 287.8 kB / 0.7885 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2319, allocations: 12 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.2319, allocations: 12 kB / 0.7885 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.2322, allocations: 120 kB / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2323, allocations: 0 / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2323, allocations: 0 / 0.7886 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2323, allocations: 7.938 kB / 0.7886 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.2326, allocations: 87.86 kB / 0.7887 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.2332, allocations: 456.6 kB / 0.7891 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.2336, allocations: 138.5 kB / 0.7893 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.2338, allocations: 60.81 kB / 0.7893 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2338, allocations: 7.984 kB / 0.7893 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.2341, allocations: 115.3 kB / 0.7895 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2341, allocations: 0 / 0.7895 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006293/0.2347, allocations: 257 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2348, allocations: 59.41 kB / 0.7898 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.2351, allocations: 326.5 kB / 0.7901 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.2351, allocations: 33.7 kB / 0.7901 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.2352, allocations: 132.5 kB / 0.7902 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2352, allocations: 47.44 kB / 0.7903 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.2353, allocations: 65.69 kB / 0.7903 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.2355, allocations: 334.8 kB / 0.7907 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2357, allocations: 79.95 kB / 0.7907 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.2359, allocations: 138 kB / 0.7909 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.2363, allocations: 205 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2363, allocations: 0 / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005528/0.2369, allocations: 281.1 kB / 0.7913 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2369, allocations: 8.875 kB / 0.7913 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2369, allocations: 3.984 kB / 0.7913 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.237, allocations: 4.188 kB / 0.7913 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2372, allocations: 51.91 kB / 0.7914 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.2372, allocations: 4 kB / 0.7914 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2373, allocations: 23.83 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2374, allocations: 8 kB / 0.7914 GB, free: 5.074 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.0001316/0.2375, allocations: 167 kB / 0.7916 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2376, allocations: 27.66 kB / 0.7916 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.2376, allocations: 26.19 kB / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2376, allocations: 0 / 0.7916 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2376, allocations: 15.92 kB / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2376, allocations: 0 / 0.7917 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.2384, allocations: 0.5445 MB / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2384, allocations: 0 / 0.7922 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.2385, allocations: 19.92 kB / 0.7922 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2385, allocations: 4 kB / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2385, allocations: 0 / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2385, allocations: 0 / 0.7922 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2385, allocations: 3.984 kB / 0.7922 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.239, allocations: 295.1 kB / 0.7925 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.2391, allocations: 96.83 kB / 0.7926 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.2391, allocations: 12 kB / 0.7926 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2393, allocations: 15.97 kB / 0.7926 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.2393, allocations: 11.98 kB / 0.7926 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.2394, allocations: 12 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001834/0.2396, allocations: 209.9 kB / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2396, allocations: 0 / 0.7928 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003146/0.2399, allocations: 47.94 kB / 0.7929 GB, free: 3.488 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.001508/0.2414, allocations: 1.15 MB / 0.794 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.2419, allocations: 199.7 kB / 0.7942 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2419, allocations: 0 / 0.7942 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2421, allocations: 63.97 kB / 0.7943 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2425, allocations: 57.17 kB / 0.7943 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.2456, allocations: 2.598 MB / 0.7968 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2459, allocations: 0.7519 MB / 0.7976 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.246, allocations: 33.92 kB / 0.7976 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.2461, allocations: 71.41 kB / 0.7977 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of SimCode: time 4.5e-07/0.2461, allocations: 0 / 0.7977 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.2686, allocations: 5.354 MB / 0.8029 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.439, allocations: 8 kB / 0.8029 GB, free: 9.312 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)