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.001217/0.001217, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00129/0.00129, allocations: 186.9 kB / 16.25 MB, free: 6.629 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.34/1.34, allocations: 205.1 MB / 222.1 MB, free: 4.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.617/1.617, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001364/0.001364, allocations: 64.28 kB / 0.6711 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2062, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003707/0.21, allocations: 1.986 MB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2117, allocations: 1.023 MB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.2119, allocations: 7.938 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004073/0.2123, allocations: 79.77 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.2127, allocations: 91.66 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.2132, allocations: 115.8 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.2135, allocations: 223.4 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.2137, allocations: 37.95 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.2139, allocations: 103.5 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.2141, allocations: 103.6 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.2141, allocations: 16 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.2144, allocations: 51.97 kB / 0.7867 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.2144, allocations: 67.75 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2146, allocations: 91.41 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004374/0.215, allocations: 263.2 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.215, allocations: 0 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.747e-06/0.215, allocations: 0 / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.215, allocations: 3.938 kB / 0.7871 GB, free: 9.543 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.0009101/0.2159, allocations: 0.5413 MB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.216, allocations: 12.03 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.2161, allocations: 50.67 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.2161, allocations: 20.66 kB / 0.7877 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.2165, allocations: 287.8 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.2165, allocations: 12 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.2166, allocations: 11.98 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.2169, allocations: 122.3 kB / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2169, allocations: 0 / 0.7881 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2169, allocations: 4 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.2169, allocations: 7.938 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.2172, allocations: 79.92 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.218, allocations: 464.4 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.2184, allocations: 130.6 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2185, allocations: 60.83 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2186, allocations: 4 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/0.2189, allocations: 127.2 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.219, allocations: 0 / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006272/0.2196, allocations: 252.3 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2196, allocations: 55.41 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.22, allocations: 326.5 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.22, allocations: 33.7 kB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.2201, allocations: 136.5 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.2201, allocations: 43.44 kB / 0.7898 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.2202, allocations: 57.7 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2204, allocations: 342.8 kB / 0.7902 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2206, allocations: 83.94 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.2208, allocations: 141.9 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.2212, allocations: 188.7 kB / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2212, allocations: 0 / 0.7906 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005611/0.2218, allocations: 289.1 kB / 0.7908 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.2218, allocations: 10.59 kB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2218, allocations: 4 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2218, allocations: 7.922 kB / 0.7909 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.222, allocations: 43.92 kB / 0.7909 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.65e-05/0.2221, allocations: 12.17 kB / 0.7909 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2223, allocations: 23.89 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.665e-05/0.2223, allocations: 8 kB / 0.791 GB, free: 5.352 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.0001384/0.2225, allocations: 163 kB / 0.7911 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.2225, allocations: 23.66 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.2226, allocations: 26.17 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.2227, allocations: 4 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2227, allocations: 0 / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2227, allocations: 4 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007996/0.2235, allocations: 0.5489 MB / 0.7917 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2235, allocations: 3.984 kB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.2236, allocations: 15.98 kB / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2236, allocations: 0 / 0.7917 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2236, allocations: 12 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2236, allocations: 4 kB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2236, allocations: 0 / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.2241, allocations: 294 kB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.2242, allocations: 108.8 kB / 0.7921 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.2242, allocations: 3.938 kB / 0.7921 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2243, allocations: 19.98 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2244, allocations: 19.97 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2244, allocations: 4 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001908/0.2246, allocations: 206 kB / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2246, allocations: 0 / 0.7924 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003122/0.225, allocations: 51.92 kB / 0.7924 GB, free: 3.762 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.2266, allocations: 1.147 MB / 0.7935 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.2271, allocations: 195.3 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2271, allocations: 4.062 kB / 0.7937 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.2273, allocations: 71.89 kB / 0.7938 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.2277, allocations: 40.53 kB / 0.7938 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2311, allocations: 2.655 MB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.2315, allocations: 0.748 MB / 0.7971 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.2317, allocations: 37.92 kB / 0.7972 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2318, allocations: 75.34 kB / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2318, allocations: 0 / 0.7973 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.2474, allocations: 5.2 MB / 0.8023 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.2477, allocations: 241.8 kB / 0.8026 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.083, allocations: 0 / 0.8026 GB, free: 9.473 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)