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.0008337/0.0008338, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0009373/0.0009373, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.81/1.81, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005541/0.0005542, allocations: 16.06 kB / 0.6737 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2371, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002/0.2391, allocations: 1.59 MB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.2405, allocations: 0.9573 MB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.2406, allocations: 0 / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.2409, allocations: 83.69 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2411, allocations: 83.77 kB / 0.7899 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.2414, allocations: 118.7 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.2416, allocations: 123.7 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.2417, allocations: 37.84 kB / 0.7902 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.2418, allocations: 87.67 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.242, allocations: 79.67 kB / 0.7903 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.242, allocations: 4 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.2421, allocations: 47.84 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.2421, allocations: 47.88 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.2422, allocations: 53.58 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.2424, allocations: 199.8 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2424, allocations: 0 / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2424, allocations: 0 / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.2424, allocations: 0 / 0.7907 GB, free: 8.359 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.0007437/0.2432, allocations: 0.5244 MB / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2432, allocations: 8.031 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.544e-05/0.2433, allocations: 46.5 kB / 0.7912 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.2433, allocations: 27.72 kB / 0.7912 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2437, allocations: 274.8 kB / 0.7915 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2437, allocations: 4.188 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.2437, allocations: 12 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.244, allocations: 129.5 kB / 0.7916 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.244, allocations: 4 kB / 0.7916 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.244, allocations: 7.953 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.244, allocations: 0 / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.2443, allocations: 96.48 kB / 0.7917 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.2449, allocations: 468.5 kB / 0.7922 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.2452, allocations: 134.6 kB / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2453, allocations: 224 / 0.7923 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.2455, allocations: 139.2 kB / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2456, allocations: 0 / 0.7925 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0005806/0.2461, allocations: 264 kB / 0.7927 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.2462, allocations: 59.39 kB / 0.7928 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.2465, allocations: 322.5 kB / 0.7931 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2465, allocations: 33.7 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.2466, allocations: 140.5 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.2466, allocations: 39.47 kB / 0.7933 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.2467, allocations: 7.938 kB / 0.7933 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.2468, allocations: 342.8 kB / 0.7936 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.247, allocations: 87.94 kB / 0.7937 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.2472, allocations: 142 kB / 0.7938 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.2474, allocations: 91.97 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2474, allocations: 4 kB / 0.7939 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004898/0.2479, allocations: 296.2 kB / 0.7942 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2479, allocations: 4.188 kB / 0.7942 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2479, allocations: 8 kB / 0.7942 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2479, allocations: 4 kB / 0.7942 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.2481, allocations: 47.91 kB / 0.7943 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.2481, allocations: 4 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2483, allocations: 27.88 kB / 0.7943 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2483, allocations: 8 kB / 0.7943 GB, free: 4.383 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,$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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.2485, allocations: 174.7 kB / 0.7945 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.2485, allocations: 19.81 kB / 0.7945 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.2486, allocations: 26.17 kB / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2486, allocations: 0 / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2486, allocations: 0 / 0.7945 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2486, allocations: 4 kB / 0.7945 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.2493, allocations: 0.5606 MB / 0.7951 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2493, allocations: 3.984 kB / 0.7951 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.332e-05/0.2494, allocations: 19.98 kB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2494, allocations: 0 / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2494, allocations: 4 kB / 0.7951 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2494, allocations: 7.938 kB / 0.7951 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2494, allocations: 0 / 0.7951 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.2498, allocations: 306.3 kB / 0.7954 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.2499, allocations: 108.8 kB / 0.7955 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.25, allocations: 4 kB / 0.7955 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2501, allocations: 19.98 kB / 0.7955 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2502, allocations: 15.97 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.2502, allocations: 7.938 kB / 0.7955 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001705/0.2504, allocations: 209.9 kB / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2504, allocations: 0 / 0.7957 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002986/0.2507, allocations: 47.91 kB / 0.7958 GB, free: 2.766 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 (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.001428/0.2521, allocations: 1.161 MB / 0.7969 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.2526, allocations: 187.8 kB / 0.7971 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2526, allocations: 12.25 kB / 0.7971 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.2527, allocations: 75.95 kB / 0.7972 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.253, allocations: 43.8 kB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2542, allocations: 1.627 MB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2545, allocations: 0.7596 MB / 0.7996 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.963e-05/0.2546, allocations: 29.94 kB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2547, allocations: 75.41 kB / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2547, allocations: 0 / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/0.7381, allocations: 4.95 MB / 0.8045 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.7383, allocations: 224.1 kB / 0.8047 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.545, allocations: 3.938 kB / 0.8047 GB, free: 9.789 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/linux/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) Environment - environmentSimulation: