Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 194.3 kB / 192 MB, free: 6.738 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 225.7 MB / 450.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007294/0.0007294, allocations: 103.5 kB / 0.5211 GB, free: 1.645 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 276 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12.75 kB / 0.6948 GB, free: 59.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1227, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.003661/0.1264, allocations: 3.537 MB / 0.7788 GB, free: 10.81 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1282, allocations: 1.334 MB / 0.7801 GB, free: 9.453 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1285, allocations: 23.88 kB / 0.7801 GB, free: 9.43 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.1288, allocations: 91.22 kB / 0.7802 GB, free: 9.34 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.129, allocations: 154.8 kB / 0.7803 GB, free: 9.188 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.1297, allocations: 371.6 kB / 0.7807 GB, free: 8.824 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.1304, allocations: 0.8773 MB / 0.7815 GB, free: 7.945 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.131, allocations: 426.3 kB / 0.7819 GB, free: 7.508 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1312, allocations: 226.7 kB / 0.7821 GB, free: 7.285 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1314, allocations: 262.4 kB / 0.7824 GB, free: 7.027 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.1315, allocations: 24 kB / 0.7824 GB, free: 7.004 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.384e-05/0.1316, allocations: 24 kB / 0.7824 GB, free: 6.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.1317, allocations: 103.4 kB / 0.7825 GB, free: 6.879 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.1319, allocations: 327.8 kB / 0.7829 GB, free: 6.551 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006905/0.1326, allocations: 0.9535 MB / 0.7838 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1326, allocations: 0 / 0.7838 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1326, allocations: 0 / 0.7838 GB, free: 5.594 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1326, allocations: 3.938 kB / 0.7838 GB, free: 5.59 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001373/0.134, allocations: 0.9524 MB / 0.7847 GB, free: 4.578 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1341, allocations: 8.031 kB / 0.7847 GB, free: 4.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1342, allocations: 84 kB / 0.7848 GB, free: 4.488 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006965/0.1349, allocations: 0.5572 MB / 0.7853 GB, free: 3.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.1349, allocations: 41.69 kB / 0.7854 GB, free: 3.855 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.135, allocations: 60.28 kB / 0.7854 GB, free: 3.797 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.136, allocations: 0.6118 MB / 0.786 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.136, allocations: 0 / 0.786 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.1361, allocations: 27.94 kB / 0.7861 GB, free: 3.133 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1361, allocations: 12 kB / 0.7861 GB, free: 3.121 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009566/0.1371, allocations: 469 kB / 0.7865 GB, free: 2.664 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/0.1396, allocations: 2.024 MB / 0.7885 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/0.1405, allocations: 454.1 kB / 0.7889 GB, free: 116 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.141, allocations: 250.2 kB / 0.7892 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.141, allocations: 8.422 kB / 0.7892 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.1416, allocations: 273.2 kB / 0.7894 GB, free: 15.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 1.773e-06/0.1416, allocations: 0 / 0.7894 GB, free: 15.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.001177/0.1428, allocations: 0.5922 MB / 0.79 GB, free: 14.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1428, allocations: 55.84 kB / 0.7901 GB, free: 14.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.1433, allocations: 442 kB / 0.7905 GB, free: 14.47 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.1433, allocations: 41.64 kB / 0.7905 GB, free: 14.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.1436, allocations: 324.9 kB / 0.7908 GB, free: 14.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.1437, allocations: 165.6 kB / 0.791 GB, free: 13.94 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.1437, allocations: 12 kB / 0.791 GB, free: 13.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1439, allocations: 366.8 kB / 0.7914 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.1442, allocations: 169 kB / 0.7915 GB, free: 13.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.1447, allocations: 257.8 kB / 0.7918 GB, free: 13.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.1455, allocations: 460 kB / 0.7922 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1455, allocations: 7.984 kB / 0.7922 GB, free: 12.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001029/0.1466, allocations: 0.5663 MB / 0.7928 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.1466, allocations: 37.64 kB / 0.7928 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1466, allocations: 4 kB / 0.7928 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1467, allocations: 4 kB / 0.7928 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.1472, allocations: 115.8 kB / 0.7929 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1472, allocations: 4 kB / 0.7929 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.1476, allocations: 75.61 kB / 0.793 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.1476, allocations: 16 kB / 0.793 GB, free: 11.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002564/0.1479, allocations: 209.7 kB / 0.7932 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.1479, allocations: 55.28 kB / 0.7933 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1481, allocations: 65.58 kB / 0.7933 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1481, allocations: 12 kB / 0.7933 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1481, allocations: 0 / 0.7933 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1481, allocations: 0 / 0.7933 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.1499, allocations: 1.185 MB / 0.7945 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1499, allocations: 11.92 kB / 0.7945 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.1504, allocations: 91.89 kB / 0.7946 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1504, allocations: 4 kB / 0.7946 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.1504, allocations: 8 kB / 0.7946 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1504, allocations: 7.984 kB / 0.7946 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1504, allocations: 0 / 0.7946 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.1517, allocations: 0.7719 MB / 0.7954 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.1518, allocations: 172.2 kB / 0.7955 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.1519, allocations: 12 kB / 0.7956 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.1522, allocations: 35.91 kB / 0.7956 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.634e-05/0.1523, allocations: 32.39 kB / 0.7956 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.1523, allocations: 16 kB / 0.7956 GB, free: 9.023 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003224/0.1527, allocations: 310.9 kB / 0.7959 GB, free: 8.723 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1527, allocations: 0 / 0.7959 GB, free: 8.723 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000365/0.153, allocations: 139.5 kB / 0.7961 GB, free: 8.586 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001179/0.1532, allocations: 115.2 kB / 0.7962 GB, free: 8.461 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008421/0.154, allocations: 497 kB / 0.7966 GB, free: 7.961 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.154, allocations: 3.938 kB / 0.7966 GB, free: 7.957 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.1544, allocations: 218.9 kB / 0.7969 GB, free: 7.742 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.1551, allocations: 153.5 kB / 0.797 GB, free: 7.594 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.1575, allocations: 1.684 MB / 0.7986 GB, free: 5.879 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1579, allocations: 0.8902 MB / 0.7995 GB, free: 4.965 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.1582, allocations: 68.58 kB / 0.7996 GB, free: 4.895 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1583, allocations: 39.38 kB / 0.7996 GB, free: 4.855 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1583, allocations: 4 kB / 0.7996 GB, free: 4.852 MB / 474.7 MB Notification: Performance of Templates: time 0.009643/0.1679, allocations: 5.537 MB / 0.805 GB, free: 15.35 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)