Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6918/0.6918, allocations: 131 MB / 146.3 MB, free: 1.312 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.0009123/0.0009123, allocations: 195.2 kB / 176.4 MB, free: 4.898 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.282/1.282, allocations: 225.7 MB / 431.9 MB, free: 8.789 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.0007621/0.000762, allocations: 97.34 kB / 0.5003 GB, free: 9.926 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 12 kB / 0.5885 GB, free: 72.7 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 79.59 MB / 0.6663 GB, free: 8.934 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.001994/0.1257, allocations: 1.392 MB / 0.6676 GB, free: 7.527 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.128, allocations: 2.104 MB / 0.6697 GB, free: 5.289 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.1281, allocations: 4 kB / 0.6697 GB, free: 5.285 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1283, allocations: 19.86 kB / 0.6697 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1284, allocations: 31.91 kB / 0.6697 GB, free: 5.234 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1288, allocations: 127.7 kB / 0.6699 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.129, allocations: 197.6 kB / 0.67 GB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.924e-05/0.1291, allocations: 16.23 kB / 0.6701 GB, free: 4.898 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1292, allocations: 63.83 kB / 0.6701 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1294, allocations: 79.72 kB / 0.6702 GB, free: 4.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.1294, allocations: 4 kB / 0.6702 GB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1296, allocations: 123.9 kB / 0.6703 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.1297, allocations: 71.81 kB / 0.6704 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1298, allocations: 117.1 kB / 0.6705 GB, free: 4.441 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1301, allocations: 295.2 kB / 0.6708 GB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1301, allocations: 0 / 0.6708 GB, free: 4.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1301, allocations: 0 / 0.6708 GB, free: 4.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1301, allocations: 0 / 0.6708 GB, free: 4.152 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006051/0.1307, allocations: 495.6 kB / 0.6713 GB, free: 3.621 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1308, allocations: 12.03 kB / 0.6713 GB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.426e-05/0.1309, allocations: 28.66 kB / 0.6713 GB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1311, allocations: 263.7 kB / 0.6715 GB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.1312, allocations: 15.94 kB / 0.6716 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1312, allocations: 16 kB / 0.6716 GB, free: 3.254 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1315, allocations: 194.8 kB / 0.6718 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1315, allocations: 0 / 0.6718 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1315, allocations: 4 kB / 0.6718 GB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1315, allocations: 4 kB / 0.6718 GB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007896/0.1323, allocations: 0.7372 MB / 0.6725 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.1331, allocations: 0.5667 MB / 0.673 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1335, allocations: 295.2 kB / 0.6733 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1337, allocations: 113.4 kB / 0.6734 GB, free: 1.273 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/0.1343, allocations: 457.7 kB / 0.6739 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.1346, allocations: 171.4 kB / 0.674 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.1346, allocations: 0 / 0.674 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.000543/0.1351, allocations: 376.8 kB / 0.6744 GB, free: 184 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.1352, allocations: 85.05 kB / 0.6745 GB, free: 80 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1354, allocations: 291.1 kB / 0.6748 GB, free: 15.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1355, allocations: 29.7 kB / 0.6748 GB, free: 15.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1355, allocations: 120.7 kB / 0.6749 GB, free: 15.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.1356, allocations: 114.4 kB / 0.675 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.1356, allocations: 4 kB / 0.675 GB, free: 15.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1357, allocations: 334.8 kB / 0.6753 GB, free: 15.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1359, allocations: 79.95 kB / 0.6754 GB, free: 15.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.136, allocations: 118.6 kB / 0.6755 GB, free: 14.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1363, allocations: 204.7 kB / 0.6757 GB, free: 14.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1363, allocations: 0 / 0.6757 GB, free: 14.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003799/0.1367, allocations: 281.6 kB / 0.676 GB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1367, allocations: 8 kB / 0.676 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1367, allocations: 4 kB / 0.676 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.1368, allocations: 0 / 0.676 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.137, allocations: 67.84 kB / 0.6761 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.137, allocations: 4 kB / 0.6761 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.271e-05/0.1371, allocations: 31.66 kB / 0.6761 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.1371, allocations: 15.98 kB / 0.6761 GB, free: 14.36 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.tStart,conTim.tStart) * 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.0001372/0.1372, allocations: 163 kB / 0.6763 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1373, allocations: 23.72 kB / 0.6763 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006305/0.1379, allocations: 380.4 kB / 0.6766 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1379, allocations: 3.938 kB / 0.6767 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1379, allocations: 4 kB / 0.6767 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.138, allocations: 3.984 kB / 0.6767 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.1382, allocations: 317.3 kB / 0.677 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1382, allocations: 0 / 0.677 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.1384, allocations: 59.91 kB / 0.677 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1384, allocations: 0 / 0.677 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1384, allocations: 15.92 kB / 0.677 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.1385, allocations: 7.938 kB / 0.677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1385, allocations: 0 / 0.677 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.1389, allocations: 329.9 kB / 0.6774 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.139, allocations: 140.7 kB / 0.6775 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.139, allocations: 8 kB / 0.6775 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.1391, allocations: 15.92 kB / 0.6775 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.1392, allocations: 27.95 kB / 0.6775 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1392, allocations: 12 kB / 0.6776 GB, free: 12.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.1394, allocations: 232.6 kB / 0.6778 GB, free: 12.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1394, allocations: 0 / 0.6778 GB, free: 12.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002657/0.1397, allocations: 67.98 kB / 0.6778 GB, free: 12.48 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0008654/0.1405, allocations: 472.7 kB / 0.6783 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.1409, allocations: 223.7 kB / 0.6785 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1409, allocations: 0 / 0.6785 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1411, allocations: 127.8 kB / 0.6786 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1413, allocations: 30.28 kB / 0.6787 GB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.1421, allocations: 0.5942 MB / 0.6792 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1424, allocations: 0.7533 MB / 0.68 GB, free: 10.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000306/0.1427, allocations: 150.8 kB / 0.6801 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.1428, allocations: 39.42 kB / 0.6801 GB, free: 10.18 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1428, allocations: 0 / 0.6801 GB, free: 10.18 MB / 458.7 MB Notification: Performance of Templates: time 0.005441/0.1482, allocations: 2.779 MB / 0.6829 GB, free: 7.414 MB / 458.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)