Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.735/2.735, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.074e-05, allocations: 2.281 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002835/0.002865, allocations: 1.255 MB / 0.9522 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.004768, allocations: 1.095 MB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.00481, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.004826, allocations: 0 / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006799/0.005506, allocations: 111.4 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.96e-06/0.005511, allocations: 0 / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.303e-05/0.005564, allocations: 4 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.005623, allocations: 7.984 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.00566, allocations: 3.938 kB / 0.9534 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.005745, allocations: 7.922 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.005762, allocations: 4 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.00608, allocations: 107.8 kB / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.094e-06/0.006087, allocations: 0 / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.006104, allocations: 0 / 0.9535 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.006441, allocations: 119.7 kB / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.006445, allocations: 0 / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.21e-07/0.006446, allocations: 0 / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.006451, allocations: 0 / 0.9536 GB, free: 8.793 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000506/0.006957, allocations: 285.9 kB / 0.9539 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.007009, allocations: 8.031 kB / 0.9539 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.00711, allocations: 84.22 kB / 0.954 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.007313, allocations: 181.1 kB / 0.9542 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.007426, allocations: 150.9 kB / 0.9543 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.007523, allocations: 154.9 kB / 0.9545 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.67e-05/0.00762, allocations: 105.5 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/0.00767, allocations: 75.47 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.007776, allocations: 154.7 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.085e-05/0.007867, allocations: 154.5 kB / 0.9549 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.007963, allocations: 158.6 kB / 0.9551 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.008385, allocations: 397.6 kB / 0.9555 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.008528, allocations: 173.1 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.008578, allocations: 84.14 kB / 0.9557 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.00863, allocations: 75.28 kB / 0.9558 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.992e-05/0.00872, allocations: 109.8 kB / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.008722, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001002/0.008822, allocations: 29.7 kB / 0.9559 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.008926, allocations: 134.6 kB / 0.956 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.00907, allocations: 97.84 kB / 0.9561 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.009089, allocations: 29.83 kB / 0.9562 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.009159, allocations: 80.14 kB / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.009161, allocations: 0 / 0.9562 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.009189, allocations: 13.72 kB / 0.9563 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.009351, allocations: 314.8 kB / 0.9566 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-06/0.009357, allocations: 0 / 0.9566 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.00936, allocations: 0 / 0.9566 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.009399, allocations: 75.28 kB / 0.9566 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-05/0.009443, allocations: 75.28 kB / 0.9567 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.914e-05/0.009512, allocations: 29.7 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.009566, allocations: 79.28 kB / 0.9568 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/0.009611, allocations: 91.14 kB / 0.9569 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.009716, allocations: 158.5 kB / 0.957 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.158e-05/0.009758, allocations: 87.2 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.443e-05/0.009842, allocations: 154.6 kB / 0.9573 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.009935, allocations: 79.28 kB / 0.9573 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.009985, allocations: 79.22 kB / 0.9574 GB, free: 4.73 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001671/0.01015, allocations: 256.4 kB / 0.9577 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.01024, allocations: 109 kB / 0.9578 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.01032, allocations: 108.1 kB / 0.9579 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/0.01042, allocations: 180.3 kB / 0.958 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000104/0.01052, allocations: 188.2 kB / 0.9582 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/0.01063, allocations: 180.2 kB / 0.9584 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.01093, allocations: 352.9 kB / 0.9587 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.689e-05/0.01099, allocations: 108.9 kB / 0.9588 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.01105, allocations: 101 kB / 0.9589 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.01115, allocations: 184.2 kB / 0.9591 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.01126, allocations: 180.2 kB / 0.9593 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.795e-05/0.01136, allocations: 176.3 kB / 0.9594 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.67e-05/0.01145, allocations: 184.2 kB / 0.9596 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.01164, allocations: 315.7 kB / 0.9599 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.0117, allocations: 105 kB / 0.96 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.0118, allocations: 184.3 kB / 0.9602 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.0119, allocations: 104.9 kB / 0.9603 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.01199, allocations: 184.2 kB / 0.9605 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.01205, allocations: 108.9 kB / 0.9606 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.66e-05/0.01212, allocations: 79.27 kB / 0.9607 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01212, allocations: 0 / 0.9607 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003656/0.01248, allocations: 35.88 kB / 0.9607 GB, free: 1.191 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0007806/0.01326, allocations: 333 kB / 0.961 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 5.893e-05/0.01332, allocations: 11.94 kB / 0.961 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01332, allocations: 0 / 0.961 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.01333, allocations: 0 / 0.961 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.01381, allocations: 459.6 kB / 0.9615 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01416, allocations: 164.2 kB / 0.9616 GB, free: 256 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.851e-05/0.01424, allocations: 55.34 kB / 0.9617 GB, free: 180 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.949e-06/0.01425, allocations: 0 / 0.9617 GB, free: 180 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.01428, allocations: 12.5 kB / 0.9617 GB, free: 168 kB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.01428, allocations: 0 / 0.9617 GB, free: 168 kB / 0.8575 GB Notification: Performance of Templates: time 0.004115/0.01839, allocations: 1.011 MB / 0.9627 GB, free: 15.17 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.899206191301346]