Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008729/0.000873, allocations: 179.1 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006552/0.0006552, allocations: 90.39 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003244, allocations: 12.03 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.002929/0.155, allocations: 4.101 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1568, allocations: 1.377 MB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.1571, allocations: 27.88 kB / 0.9016 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1574, allocations: 154.6 kB / 0.9018 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1578, allocations: 103.2 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.1582, allocations: 347.7 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.1587, allocations: 1.084 MB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005792/0.1593, allocations: 0.6515 MB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1595, allocations: 266.1 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1597, allocations: 345.3 kB / 0.9045 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.1597, allocations: 28 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.1598, allocations: 28 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.1599, allocations: 155.1 kB / 0.9047 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.16, allocations: 404.8 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.1606, allocations: 1.284 MB / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1606, allocations: 0 / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1606, allocations: 0 / 0.9063 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.1607, allocations: 4 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.001551/0.1622, allocations: 1.274 MB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1623, allocations: 8.031 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.1624, allocations: 152.2 kB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1625, allocations: 131.3 kB / 0.9078 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.1632, allocations: 0.6537 MB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.1632, allocations: 74.38 kB / 0.9085 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.1633, allocations: 104.3 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1645, allocations: 0.9867 MB / 0.9096 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1645, allocations: 0 / 0.9096 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.1646, allocations: 44 kB / 0.9096 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1646, allocations: 24 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1656, allocations: 0.7064 MB / 0.9104 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1688, allocations: 3.592 MB / 0.9139 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.1697, allocations: 0.7224 MB / 0.9146 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.1702, allocations: 422.9 kB / 0.915 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1703, allocations: 8.656 kB / 0.915 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.1708, allocations: 368.3 kB / 0.9153 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/0.1708, allocations: 0 / 0.9153 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74): time 0.001272/0.1721, allocations: 0.8874 MB / 0.9162 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1721, allocations: 166.8 kB / 0.9164 GB, free: 47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.1727, allocations: 0.6845 MB / 0.917 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.1728, allocations: 41.7 kB / 0.9171 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.173, allocations: 487.8 kB / 0.9175 GB, free: 45.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.1731, allocations: 244.3 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.1731, allocations: 77.67 kB / 0.9178 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.1732, allocations: 333.9 kB / 0.9182 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.1736, allocations: 269.8 kB / 0.9184 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/0.1741, allocations: 407.7 kB / 0.9188 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007809/0.1749, allocations: 0.6176 MB / 0.9194 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1749, allocations: 0 / 0.9194 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.000987/0.1759, allocations: 0.7817 MB / 0.9202 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.1759, allocations: 142.2 kB / 0.9203 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1759, allocations: 4 kB / 0.9203 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.176, allocations: 4 kB / 0.9203 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.1765, allocations: 171.7 kB / 0.9205 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1765, allocations: 7.938 kB / 0.9205 GB, free: 42.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.1769, allocations: 123.2 kB / 0.9206 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1769, allocations: 24 kB / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-06/0.1769, allocations: 4 kB / 0.9206 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005957/0.1775, allocations: 0.5584 MB / 0.9212 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.1775, allocations: 0 / 0.9212 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.107e-06/0.1776, allocations: 4 kB / 0.9212 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.178, allocations: 147.9 kB / 0.9213 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.178, allocations: 4 kB / 0.9213 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.1782, allocations: 87.25 kB / 0.9214 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.1783, allocations: 28 kB / 0.9214 GB, free: 41.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (intWitRes4.trigger_internal,limPIDInp.trigger,$whenCondition1,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0002342/0.1785, allocations: 307.3 kB / 0.9217 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.1786, allocations: 90.91 kB / 0.9218 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1787, allocations: 92.8 kB / 0.9219 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1787, allocations: 11.98 kB / 0.9219 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1787, allocations: 4 kB / 0.9219 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1787, allocations: 3.984 kB / 0.9219 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.1804, allocations: 1.679 MB / 0.9236 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1804, allocations: 4 kB / 0.9236 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.1809, allocations: 139.8 kB / 0.9237 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1809, allocations: 4 kB / 0.9237 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.181, allocations: 16 kB / 0.9237 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.181, allocations: 4 kB / 0.9237 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.181, allocations: 0 / 0.9237 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.1823, allocations: 1.115 MB / 0.9248 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.1824, allocations: 171.8 kB / 0.925 GB, free: 37.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.1825, allocations: 12 kB / 0.925 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.1828, allocations: 59.95 kB / 0.925 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.1829, allocations: 40.53 kB / 0.9251 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.1829, allocations: 20 kB / 0.9251 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003745/0.1833, allocations: 475 kB / 0.9256 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.42e-07/0.1833, allocations: 4 kB / 0.9256 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005488/0.1838, allocations: 342.3 kB / 0.9259 GB, free: 37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.001504/0.1853, allocations: 1.675 MB / 0.9275 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.1866, allocations: 0.9548 MB / 0.9284 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1866, allocations: 4.125 kB / 0.9285 GB, free: 34.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.187, allocations: 331.6 kB / 0.9288 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.1878, allocations: 210.9 kB / 0.929 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.1948, allocations: 7.299 MB / 0.9361 GB, free: 26.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.1951, allocations: 1.021 MB / 0.9371 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003403/0.1955, allocations: 102.3 kB / 0.9372 GB, free: 25.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.1958, allocations: 399.3 kB / 0.9376 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/0.1958, allocations: 0 / 0.9376 GB, free: 24.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/0.3679, allocations: 14.99 MB / 0.9522 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.3681, allocations: 223.5 kB / 0.9524 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.7, allocations: 0 / 0.9524 GB, free: 9.781 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)