Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset",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.0008758/0.0008758, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.005394/0.005395, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.213/1.213, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.525/1.525, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004634/0.0004634, allocations: 19.53 kB / 0.6745 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1723, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.003615/0.1759, allocations: 3.918 MB / 0.7918 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1774, allocations: 1.042 MB / 0.7929 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.1777, allocations: 23.94 kB / 0.7929 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1779, allocations: 138.7 kB / 0.793 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1783, allocations: 99.23 kB / 0.7931 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1787, allocations: 331.6 kB / 0.7934 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.1795, allocations: 1.053 MB / 0.7945 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.1802, allocations: 0.6316 MB / 0.7951 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1804, allocations: 266.2 kB / 0.7953 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.1807, allocations: 333.5 kB / 0.7956 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.058e-05/0.1808, allocations: 28 kB / 0.7957 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.1808, allocations: 28 kB / 0.7957 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1809, allocations: 155 kB / 0.7958 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.1812, allocations: 410.7 kB / 0.7962 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.182, allocations: 1.304 MB / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.182, allocations: 0 / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.182, allocations: 0 / 0.7975 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.182, allocations: 0 / 0.7975 GB, free: 1.672 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001734/0.1838, allocations: 1.239 MB / 0.7987 GB, free: 384 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1838, allocations: 8.031 kB / 0.7987 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000147/0.1839, allocations: 148.1 kB / 0.7989 GB, free: 220 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1841, allocations: 123.4 kB / 0.799 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/0.1848, allocations: 0.6179 MB / 0.7996 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.1849, allocations: 70.38 kB / 0.7997 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.185, allocations: 108.3 kB / 0.7998 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.1864, allocations: 0.9179 MB / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1864, allocations: 7.938 kB / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.1865, allocations: 40 kB / 0.8007 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1865, allocations: 27.94 kB / 0.8007 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/0.1877, allocations: 0.6793 MB / 0.8014 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.1914, allocations: 2.9 MB / 0.8042 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1926, allocations: 0.7263 MB / 0.8049 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/0.1932, allocations: 426.8 kB / 0.8053 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.1932, allocations: 8.656 kB / 0.8053 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.1939, allocations: 384.2 kB / 0.8057 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=74): time 1.703e-06/0.1939, allocations: 0 / 0.8057 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=74): time 0.001534/0.1954, allocations: 0.8758 MB / 0.8066 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.1955, allocations: 162.9 kB / 0.8067 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.1961, allocations: 0.6254 MB / 0.8073 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.1962, allocations: 45.69 kB / 0.8074 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/0.1964, allocations: 464.2 kB / 0.8078 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.1966, allocations: 256.2 kB / 0.8081 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.1967, allocations: 69.69 kB / 0.8081 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1968, allocations: 337.9 kB / 0.8085 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.1973, allocations: 261.9 kB / 0.8087 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.1978, allocations: 394 kB / 0.8091 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009603/0.1988, allocations: 0.5964 MB / 0.8097 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1988, allocations: 0 / 0.8097 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001216/0.2, allocations: 0.7738 MB / 0.8104 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.2001, allocations: 120.4 kB / 0.8105 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2001, allocations: 4 kB / 0.8105 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2001, allocations: 4 kB / 0.8105 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.2007, allocations: 171.8 kB / 0.8107 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2008, allocations: 4 kB / 0.8107 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2011, allocations: 115.2 kB / 0.8108 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.2012, allocations: 20 kB / 0.8108 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/0.2012, allocations: 4 kB / 0.8108 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007292/0.2019, allocations: 0.5505 MB / 0.8114 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2019, allocations: 4 kB / 0.8114 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.202, allocations: 7.938 kB / 0.8114 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.2024, allocations: 135.8 kB / 0.8115 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2024, allocations: 4 kB / 0.8115 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.2027, allocations: 87.47 kB / 0.8116 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2027, allocations: 24 kB / 0.8116 GB, free: 2.812 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0003222/0.2031, allocations: 301.7 kB / 0.8119 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.2032, allocations: 86.91 kB / 0.812 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.2033, allocations: 96.19 kB / 0.8121 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.2033, allocations: 8 kB / 0.8121 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2033, allocations: 4 kB / 0.8121 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.2034, allocations: 7.969 kB / 0.8121 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.2055, allocations: 1.667 MB / 0.8137 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2055, allocations: 4 kB / 0.8137 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.206, allocations: 139.8 kB / 0.8139 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.206, allocations: 4 kB / 0.8139 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.2061, allocations: 16 kB / 0.8139 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2061, allocations: 3.984 kB / 0.8139 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2061, allocations: 0 / 0.8139 GB, free: 424 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.2077, allocations: 1.1 MB / 0.815 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2078, allocations: 167.9 kB / 0.8151 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.2079, allocations: 12 kB / 0.8151 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.2082, allocations: 60.05 kB / 0.8152 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.2083, allocations: 44.53 kB / 0.8152 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.2083, allocations: 20 kB / 0.8153 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004357/0.2088, allocations: 439 kB / 0.8157 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2088, allocations: 4 kB / 0.8157 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005916/0.2094, allocations: 330.3 kB / 0.816 GB, free: 14.23 MB / 0.6387 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.00187/0.2113, allocations: 1.679 MB / 0.8176 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.2127, allocations: 0.9465 MB / 0.8186 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2127, allocations: 0 / 0.8186 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.2132, allocations: 336 kB / 0.8189 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/0.214, allocations: 163.3 kB / 0.819 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008283/0.2222, allocations: 6.992 MB / 0.8259 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.2227, allocations: 1.013 MB / 0.8269 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.223, allocations: 93.91 kB / 0.827 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.2234, allocations: 379.3 kB / 0.8273 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.2234, allocations: 0 / 0.8273 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2467, allocations: 13.95 MB / 0.8409 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.2469, allocations: 224.4 kB / 0.8411 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.078, allocations: 0 / 0.8411 GB, free: 4.465 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)