Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8394/0.8394, allocations: 143.8 MB / 159.1 MB, free: 6.52 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.001085/0.001085, allocations: 183.3 kB / 192 MB, free: 6.727 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.318/1.318, allocations: 225.7 MB / 450.4 MB, free: 4.945 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.0007932/0.0007932, allocations: 111.4 kB / 0.5211 GB, free: 1.602 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.001671/0.00167, allocations: 277.4 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 14.41 kB / 0.6948 GB, free: 59.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 82.45 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002274/0.1381, allocations: 1.539 MB / 0.7768 GB, free: 12.8 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.1402, allocations: 1.713 MB / 0.7785 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.1403, allocations: 4 kB / 0.7785 GB, free: 11.02 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1405, allocations: 27.84 kB / 0.7785 GB, free: 10.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1408, allocations: 67.75 kB / 0.7786 GB, free: 10.92 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1412, allocations: 155.6 kB / 0.7787 GB, free: 10.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002595/0.1414, allocations: 253.4 kB / 0.779 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1415, allocations: 25.06 kB / 0.779 GB, free: 10.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.1416, allocations: 79.81 kB / 0.7791 GB, free: 10.42 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1418, allocations: 99.7 kB / 0.7792 GB, free: 10.32 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.1419, allocations: 11.94 kB / 0.7792 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.142, allocations: 71.91 kB / 0.7792 GB, free: 10.24 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.1421, allocations: 75.8 kB / 0.7793 GB, free: 10.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1422, allocations: 133 kB / 0.7794 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.1426, allocations: 295 kB / 0.7797 GB, free: 9.742 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1426, allocations: 0 / 0.7797 GB, free: 9.742 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1426, allocations: 0 / 0.7797 GB, free: 9.742 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1426, allocations: 0 / 0.7797 GB, free: 9.742 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007184/0.1433, allocations: 0.5072 MB / 0.7802 GB, free: 9.188 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1434, allocations: 8.031 kB / 0.7802 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1435, allocations: 32.59 kB / 0.7803 GB, free: 9.148 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.1438, allocations: 274.7 kB / 0.7805 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1439, allocations: 8.375 kB / 0.7805 GB, free: 8.836 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.1439, allocations: 28.12 kB / 0.7806 GB, free: 8.809 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1443, allocations: 232.8 kB / 0.7808 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1443, allocations: 3.938 kB / 0.7808 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1443, allocations: 8 kB / 0.7808 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1444, allocations: 4 kB / 0.7808 GB, free: 8.547 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.1452, allocations: 0.7451 MB / 0.7815 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.1462, allocations: 0.6408 MB / 0.7822 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.1467, allocations: 307 kB / 0.7824 GB, free: 6.797 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1468, allocations: 109.4 kB / 0.7825 GB, free: 6.688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.1469, allocations: 20.25 kB / 0.7826 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003085/0.1472, allocations: 183.3 kB / 0.7827 GB, free: 6.477 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.1472, allocations: 0 / 0.7827 GB, free: 6.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006006/0.1478, allocations: 373.8 kB / 0.7831 GB, free: 6.105 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.1479, allocations: 136.5 kB / 0.7832 GB, free: 5.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.1482, allocations: 316.9 kB / 0.7835 GB, free: 5.621 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.1482, allocations: 29.7 kB / 0.7836 GB, free: 5.586 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.1483, allocations: 132.7 kB / 0.7837 GB, free: 5.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.1484, allocations: 122.3 kB / 0.7838 GB, free: 5.328 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.1484, allocations: 4 kB / 0.7838 GB, free: 5.324 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1486, allocations: 342.8 kB / 0.7841 GB, free: 4.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1487, allocations: 83.81 kB / 0.7842 GB, free: 4.898 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.1489, allocations: 123.4 kB / 0.7843 GB, free: 4.766 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1492, allocations: 218.2 kB / 0.7845 GB, free: 4.551 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1492, allocations: 0 / 0.7845 GB, free: 4.551 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000393/0.1496, allocations: 277.1 kB / 0.7848 GB, free: 4.273 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1496, allocations: 4 kB / 0.7848 GB, free: 4.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1497, allocations: 0 / 0.7848 GB, free: 4.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1497, allocations: 3.938 kB / 0.7848 GB, free: 4.266 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.1499, allocations: 67.91 kB / 0.7849 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1499, allocations: 0 / 0.7849 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1501, allocations: 35.73 kB / 0.7849 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.1501, allocations: 12 kB / 0.7849 GB, free: 4.152 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001529/0.1503, allocations: 167.9 kB / 0.7851 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1503, allocations: 23.72 kB / 0.7851 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.1509, allocations: 384.8 kB / 0.7855 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1509, allocations: 7.938 kB / 0.7855 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1509, allocations: 4 kB / 0.7855 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1509, allocations: 0 / 0.7855 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1513, allocations: 345.2 kB / 0.7858 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1513, allocations: 0 / 0.7858 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1514, allocations: 63.91 kB / 0.7859 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1515, allocations: 0 / 0.7859 GB, free: 3.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1515, allocations: 8 kB / 0.7859 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1515, allocations: 7.922 kB / 0.7859 GB, free: 3.098 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1515, allocations: 7.938 kB / 0.7859 GB, free: 3.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.1519, allocations: 317.7 kB / 0.7862 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1521, allocations: 148.7 kB / 0.7863 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1521, allocations: 12 kB / 0.7864 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.1523, allocations: 32.72 kB / 0.7864 GB, free: 2.551 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1523, allocations: 19.97 kB / 0.7864 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.1524, allocations: 16 kB / 0.7864 GB, free: 2.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1526, allocations: 240.4 kB / 0.7866 GB, free: 2.281 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1526, allocations: 0 / 0.7866 GB, free: 2.281 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.1528, allocations: 75.83 kB / 0.7867 GB, free: 2.207 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0008807/0.1537, allocations: 466.8 kB / 0.7872 GB, free: 1.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.1541, allocations: 224.3 kB / 0.7874 GB, free: 1.656 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1541, allocations: 4 kB / 0.7874 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1543, allocations: 136.1 kB / 0.7875 GB, free: 1.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1546, allocations: 47.78 kB / 0.7876 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008203/0.1554, allocations: 0.6093 MB / 0.7882 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1557, allocations: 0.7653 MB / 0.7889 GB, free: 56 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.1561, allocations: 138.9 kB / 0.789 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.1561, allocations: 43.34 kB / 0.7891 GB, free: 15.88 MB / 474.7 MB Notification: Performance of SimCode: time 3.848e-06/0.1561, allocations: 0 / 0.7891 GB, free: 15.88 MB / 474.7 MB Notification: Performance of Templates: time 0.006205/0.1624, allocations: 3.27 MB / 0.7923 GB, free: 12.63 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)