Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.414/1.414, allocations: 287.4 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 182 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006931/0.0006932, allocations: 89.5 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.000314, allocations: 10.78 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.002922/0.1456, allocations: 3.642 MB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1472, allocations: 1.042 MB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.1477, allocations: 19.94 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.148, allocations: 134.7 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003682/0.1484, allocations: 99.23 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1488, allocations: 239.7 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.1494, allocations: 1.034 MB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006409/0.1501, allocations: 0.6316 MB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1503, allocations: 250.4 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1505, allocations: 317.8 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.1505, allocations: 24 kB / 0.986 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.177e-05/0.1506, allocations: 28 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.1507, allocations: 143.2 kB / 0.9862 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.1508, allocations: 181.1 kB / 0.9863 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.1513, allocations: 1.087 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1513, allocations: 0 / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1513, allocations: 4 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.1513, allocations: 0 / 0.9874 GB, free: 19.17 MB / 0.6198 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.00152/0.1529, allocations: 1.235 MB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1529, allocations: 12.03 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.153, allocations: 144.1 kB / 0.9887 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1531, allocations: 131.4 kB / 0.9889 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.1537, allocations: 0.6218 MB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.1538, allocations: 70.38 kB / 0.9895 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.1539, allocations: 100.3 kB / 0.9896 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.155, allocations: 0.918 MB / 0.9905 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.155, allocations: 7.875 kB / 0.9905 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.1551, allocations: 39.98 kB / 0.9906 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1551, allocations: 24 kB / 0.9906 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1561, allocations: 0.6793 MB / 0.9913 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.1591, allocations: 2.892 MB / 0.9941 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009163/0.16, allocations: 0.7261 MB / 0.9948 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.1605, allocations: 414.9 kB / 0.9952 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1606, allocations: 8.656 kB / 0.9952 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.1611, allocations: 372.3 kB / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 1.764e-06/0.1611, allocations: 0 / 0.9956 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.001267/0.1624, allocations: 0.8835 MB / 0.9964 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.1624, allocations: 166.9 kB / 0.9966 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.1629, allocations: 0.6176 MB / 0.9972 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.1629, allocations: 41.7 kB / 0.9972 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1631, allocations: 460.2 kB / 0.9977 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.1632, allocations: 256.2 kB / 0.9979 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.1632, allocations: 16 kB / 0.9979 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.1633, allocations: 334 kB / 0.9982 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.1637, allocations: 253.9 kB / 0.9985 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.1642, allocations: 391.1 kB / 0.9989 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.165, allocations: 0.5847 MB / 0.9994 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.165, allocations: 0 / 0.9994 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001/0.166, allocations: 0.766 MB / 1 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.166, allocations: 116.4 kB / 1 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.166, allocations: 8 kB / 1 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.166, allocations: 4 kB / 1 GB, free: 5.566 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.1666, allocations: 167.7 kB / 1 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1666, allocations: 4 kB / 1 GB, free: 5.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1669, allocations: 115.2 kB / 1.001 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.167, allocations: 24 kB / 1.001 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.167, allocations: 7.984 kB / 1.001 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000594/0.1676, allocations: 0.5467 MB / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.1676, allocations: 0 / 1.001 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.1676, allocations: 7.938 kB / 1.001 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.168, allocations: 143.7 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.168, allocations: 4 kB / 1.001 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1682, allocations: 83.34 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1683, allocations: 20 kB / 1.001 GB, free: 4.449 MB / 0.6198 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,$whenCondition1,limPIDInp.trigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.1685, allocations: 309 kB / 1.002 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.1686, allocations: 94.88 kB / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.1687, allocations: 84.27 kB / 1.002 GB, free: 3.957 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1687, allocations: 8 kB / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1687, allocations: 0 / 1.002 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.1687, allocations: 3.984 kB / 1.002 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.1703, allocations: 1.656 MB / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1704, allocations: 0 / 1.003 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.1708, allocations: 151.8 kB / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1709, allocations: 0 / 1.004 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.1709, allocations: 15.98 kB / 1.004 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1709, allocations: 8 kB / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1709, allocations: 0 / 1.004 GB, free: 2.062 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1722, allocations: 1.104 MB / 1.005 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.1723, allocations: 163.9 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-05/0.1724, allocations: 19.98 kB / 1.005 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.1727, allocations: 51.97 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.1727, allocations: 40.59 kB / 1.005 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1728, allocations: 27.98 kB / 1.005 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003328/0.1731, allocations: 431.1 kB / 1.005 GB, free: 212 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1731, allocations: 0 / 1.005 GB, free: 212 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005353/0.1737, allocations: 338.3 kB / 1.006 GB, free: 15.88 MB / 0.6355 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 (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.001775/0.1754, allocations: 1.671 MB / 1.007 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.1768, allocations: 0.927 MB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1768, allocations: 4 kB / 1.008 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.1773, allocations: 332 kB / 1.009 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.178, allocations: 159.2 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/0.1845, allocations: 4.909 MB / 1.014 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.185, allocations: 1.006 MB / 1.015 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.1853, allocations: 93.97 kB / 1.015 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.1858, allocations: 379.3 kB / 1.015 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of SimCode: time 2.7e-07/0.1858, allocations: 0 / 1.015 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9403/1.126, allocations: 14.55 MB / 1.029 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/1.126, allocations: 214.9 kB / 1.029 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.755, allocations: 1.875 kB / 1.029 GB, free: 7.691 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDWithReset.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.pipe 2>&1)