Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001732/0.001732, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001627/0.001627, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.507/1.507, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.334/3.334, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.883e-05, allocations: 2.906 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002716/0.002745, allocations: 1.278 MB / 0.8788 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.004582, allocations: 1.102 MB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.004611, allocations: 4 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.004629, allocations: 4.594 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.005155, allocations: 105.7 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-06/0.005159, allocations: 5.25 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.395e-05/0.005193, allocations: 4 kB / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.005234, allocations: 0 / 0.88 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.005263, allocations: 7.953 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.005326, allocations: 4 kB / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.005334, allocations: 0 / 0.88 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.00558, allocations: 111.8 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-06/0.005586, allocations: 0 / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.005602, allocations: 0 / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.00586, allocations: 119.6 kB / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005862, allocations: 0 / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005863, allocations: 0 / 0.8803 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.005867, allocations: 0 / 0.8803 GB, free: 3.754 MB / 0.8386 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.0003746/0.006241, allocations: 270 kB / 0.8805 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.006278, allocations: 9.312 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.006355, allocations: 88.17 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.006523, allocations: 181.1 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/0.006608, allocations: 154.4 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.006687, allocations: 154.9 kB / 0.8811 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/0.006782, allocations: 109.5 kB / 0.8812 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.006828, allocations: 79.41 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.006911, allocations: 154.7 kB / 0.8814 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.051e-05/0.006992, allocations: 150.6 kB / 0.8816 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.007077, allocations: 158.6 kB / 0.8817 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.007397, allocations: 393.6 kB / 0.8821 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.007513, allocations: 169.1 kB / 0.8822 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.007562, allocations: 85.08 kB / 0.8823 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.007608, allocations: 75.28 kB / 0.8824 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.297e-05/0.007681, allocations: 113.8 kB / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.007682, allocations: 0.5625 kB / 0.8825 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.987e-05/0.007772, allocations: 27.14 kB / 0.8825 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.007855, allocations: 130.6 kB / 0.8827 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.007967, allocations: 93.86 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.007983, allocations: 26.95 kB / 0.8828 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.008033, allocations: 84.12 kB / 0.8829 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.008035, allocations: 0 / 0.8829 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.008063, allocations: 17.84 kB / 0.8829 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.008234, allocations: 318.8 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-06/0.008239, allocations: 0 / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.008242, allocations: 0 / 0.8832 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.008283, allocations: 75.28 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.008323, allocations: 75.28 kB / 0.8833 GB, free: 472 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.781e-05/0.008381, allocations: 29.7 kB / 0.8833 GB, free: 436 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.008431, allocations: 81.78 kB / 0.8834 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.264e-05/0.008474, allocations: 83.22 kB / 0.8835 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.008574, allocations: 154.5 kB / 0.8837 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.00862, allocations: 83.22 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001195/0.00874, allocations: 170.5 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.008825, allocations: 75.28 kB / 0.884 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.008869, allocations: 79.22 kB / 0.884 GB, free: 15.71 MB / 0.8542 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.000165/0.009034, allocations: 260.4 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.009118, allocations: 101 kB / 0.8844 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.121e-05/0.009189, allocations: 108.1 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.009298, allocations: 192.2 kB / 0.8847 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.867e-05/0.009397, allocations: 180.2 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/0.009502, allocations: 188.1 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.009805, allocations: 348.9 kB / 0.8854 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-05/0.009871, allocations: 109 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.326e-05/0.009934, allocations: 108.9 kB / 0.8856 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.495e-05/0.01003, allocations: 176.3 kB / 0.8857 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.01025, allocations: 180.2 kB / 0.8859 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001025/0.01036, allocations: 184.2 kB / 0.8861 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-05/0.01045, allocations: 180.2 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.01067, allocations: 307.8 kB / 0.8865 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.01075, allocations: 112.9 kB / 0.8867 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.01086, allocations: 176.3 kB / 0.8868 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.01096, allocations: 108.9 kB / 0.8869 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.01107, allocations: 180.2 kB / 0.8871 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.01113, allocations: 105 kB / 0.8872 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.944e-05/0.01119, allocations: 83.28 kB / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01119, allocations: 0 / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003805/0.01157, allocations: 39.8 kB / 0.8873 GB, free: 12.17 MB / 0.8542 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.0007514/0.01232, allocations: 345.6 kB / 0.8876 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.529e-05/0.01237, allocations: 3.984 kB / 0.8876 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.01237, allocations: 0 / 0.8876 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.01237, allocations: 0 / 0.8876 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.01287, allocations: 461.6 kB / 0.8881 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.01316, allocations: 159.1 kB / 0.8882 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.104e-05/0.01322, allocations: 55.22 kB / 0.8883 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.364e-06/0.01323, allocations: 4 kB / 0.8883 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.01325, allocations: 12.44 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of SimCode: time 4.5e-07/0.01325, allocations: 0 / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.003974/0.01723, allocations: 1.016 MB / 0.8893 GB, free: 10.13 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.317268043057993]