Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6953/0.6953, allocations: 131 MB / 146.3 MB, free: 1.301 MB / 106.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.0009035/0.0009038, allocations: 187.4 kB / 176.4 MB, free: 4.863 MB / 138.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.284/1.284, allocations: 225.7 MB / 431.9 MB, free: 8.762 MB / 314.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.000734/0.000734, allocations: 89.56 kB / 0.5003 GB, free: 9.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003025, allocations: 8 kB / 0.5885 GB, free: 72.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 79.6 MB / 0.6663 GB, free: 8.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003707/0.1228, allocations: 3.675 MB / 0.6698 GB, free: 5.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.125, allocations: 1.559 MB / 0.6714 GB, free: 3.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003471/0.1254, allocations: 31.81 kB / 0.6714 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1257, allocations: 126.8 kB / 0.6715 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005484/0.1262, allocations: 182.8 kB / 0.6717 GB, free: 3.312 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1275, allocations: 0.6631 MB / 0.6723 GB, free: 2.648 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009875/0.1285, allocations: 1.179 MB / 0.6735 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006099/0.1291, allocations: 480.2 kB / 0.6739 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.1295, allocations: 353.8 kB / 0.6743 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.1298, allocations: 353.5 kB / 0.6746 GB, free: 292 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/0.1299, allocations: 28 kB / 0.6746 GB, free: 264 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.1299, allocations: 28 kB / 0.6747 GB, free: 236 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1301, allocations: 147 kB / 0.6748 GB, free: 88 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.1304, allocations: 422.8 kB / 0.6752 GB, free: 15.66 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007535/0.1311, allocations: 1.058 MB / 0.6762 GB, free: 14.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1311, allocations: 0 / 0.6762 GB, free: 14.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1312, allocations: 0 / 0.6762 GB, free: 14.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1312, allocations: 0 / 0.6762 GB, free: 14.6 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00188/0.1331, allocations: 1.254 MB / 0.6775 GB, free: 13.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1331, allocations: 8.031 kB / 0.6775 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1333, allocations: 127.4 kB / 0.6776 GB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1343, allocations: 0.7276 MB / 0.6783 GB, free: 12.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.329e-05/0.1344, allocations: 80.27 kB / 0.6784 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/0.1345, allocations: 76.31 kB / 0.6785 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.1358, allocations: 0.7524 MB / 0.6792 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1358, allocations: 3.938 kB / 0.6792 GB, free: 11.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.1359, allocations: 28 kB / 0.6792 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1359, allocations: 16 kB / 0.6792 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.1369, allocations: 0.5322 MB / 0.6798 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.14, allocations: 2.329 MB / 0.682 GB, free: 8.465 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.1413, allocations: 0.6269 MB / 0.6826 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.1418, allocations: 279.5 kB / 0.6829 GB, free: 7.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.1419, allocations: 12.55 kB / 0.6829 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006683/0.1425, allocations: 327.1 kB / 0.6832 GB, free: 7.215 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.1426, allocations: 0 / 0.6832 GB, free: 7.215 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001533/0.1441, allocations: 0.7788 MB / 0.684 GB, free: 6.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.1442, allocations: 81.67 kB / 0.6841 GB, free: 6.328 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.145, allocations: 0.7477 MB / 0.6848 GB, free: 5.566 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.145, allocations: 41.7 kB / 0.6848 GB, free: 5.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.1453, allocations: 440.5 kB / 0.6853 GB, free: 5.086 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.1455, allocations: 205 kB / 0.6855 GB, free: 4.883 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1455, allocations: 12 kB / 0.6855 GB, free: 4.871 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1456, allocations: 330 kB / 0.6858 GB, free: 4.543 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.1461, allocations: 209.2 kB / 0.686 GB, free: 4.336 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.1466, allocations: 312.4 kB / 0.6863 GB, free: 4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/0.1475, allocations: 0.5308 MB / 0.6868 GB, free: 3.441 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1475, allocations: 4 kB / 0.6868 GB, free: 3.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00113/0.1487, allocations: 0.6696 MB / 0.6875 GB, free: 2.758 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.266e-05/0.1487, allocations: 159.1 kB / 0.6876 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1488, allocations: 0 / 0.6876 GB, free: 2.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1488, allocations: 8 kB / 0.6876 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.1494, allocations: 147.8 kB / 0.6878 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1494, allocations: 15.86 kB / 0.6878 GB, free: 2.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.1498, allocations: 75.36 kB / 0.6879 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.1499, allocations: 23.98 kB / 0.6879 GB, free: 2.305 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.1499, allocations: 4 kB / 0.6879 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007391/0.1506, allocations: 0.4895 MB / 0.6884 GB, free: 1.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.1506, allocations: 4 kB / 0.6884 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.1506, allocations: 4 kB / 0.6884 GB, free: 1.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.1511, allocations: 131.8 kB / 0.6885 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.1512, allocations: 19.91 kB / 0.6885 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.1515, allocations: 63.72 kB / 0.6886 GB, free: 1.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1515, allocations: 19.98 kB / 0.6886 GB, free: 1.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0002739/0.1518, allocations: 305.4 kB / 0.6889 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.1519, allocations: 90.88 kB / 0.689 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.152, allocations: 101.2 kB / 0.6891 GB, free: 1.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1521, allocations: 8 kB / 0.6891 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1521, allocations: 3.938 kB / 0.6891 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.1521, allocations: 7.984 kB / 0.6891 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.154, allocations: 1.45 MB / 0.6905 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.154, allocations: 0 / 0.6905 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005247/0.1546, allocations: 111.8 kB / 0.6906 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1546, allocations: 0 / 0.6906 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.1546, allocations: 15.98 kB / 0.6906 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1546, allocations: 8 kB / 0.6906 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1546, allocations: 0 / 0.6906 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1562, allocations: 0.982 MB / 0.6916 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.1565, allocations: 227.7 kB / 0.6918 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.1566, allocations: 12 kB / 0.6918 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.157, allocations: 43.97 kB / 0.6919 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.157, allocations: 36.5 kB / 0.6919 GB, free: 14.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.1571, allocations: 19.98 kB / 0.6919 GB, free: 14.06 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005817/0.1577, allocations: 0.5029 MB / 0.6924 GB, free: 13.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 4 kB / 0.6924 GB, free: 13.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006454/0.1583, allocations: 279 kB / 0.6927 GB, free: 13.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001368/0.1585, allocations: 123.2 kB / 0.6928 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.1598, allocations: 0.7918 MB / 0.6936 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1598, allocations: 0 / 0.6936 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.1603, allocations: 275.7 kB / 0.6938 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.1614, allocations: 254.9 kB / 0.6941 GB, free: 11.86 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1637, allocations: 1.941 MB / 0.696 GB, free: 9.879 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.1642, allocations: 0.994 MB / 0.6969 GB, free: 8.855 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.1646, allocations: 122.7 kB / 0.6971 GB, free: 8.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1648, allocations: 59.42 kB / 0.6971 GB, free: 8.672 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1648, allocations: 0 / 0.6971 GB, free: 8.672 MB / 474.7 MB Notification: Performance of Templates: time 0.0156/0.1804, allocations: 9.151 MB / 0.706 GB, free: 15.56 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)