Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008019/0.0008019, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008495/0.0008495, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.769/1.769, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.617e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002475/0.002501, allocations: 1.273 MB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.003936, allocations: 1.091 MB / 0.9833 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.003965, allocations: 4 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.003984, allocations: 0 / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.004486, allocations: 115.5 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-06/0.00449, allocations: 0 / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.004531, allocations: 0 / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.004577, allocations: 4 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.004603, allocations: 0 / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.004654, allocations: 0 / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.295e-06/0.004663, allocations: 0 / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.004867, allocations: 111.8 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.015e-06/0.004875, allocations: 0 / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.004888, allocations: 8 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.00531, allocations: 115.6 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.005317, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/0.005319, allocations: 4 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.005325, allocations: 3.938 kB / 0.9836 GB, free: 15.84 MB / 0.948 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.0002898/0.005614, allocations: 270 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.005659, allocations: 12.03 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.005701, allocations: 106 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.005753, allocations: 76.22 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.005883, allocations: 185.1 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.005927, allocations: 154.9 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.005963, allocations: 158.9 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.296e-05/0.006026, allocations: 113.5 kB / 0.9846 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.006048, allocations: 83.41 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.006095, allocations: 154.5 kB / 0.9849 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.006135, allocations: 150.6 kB / 0.985 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.006183, allocations: 154.5 kB / 0.9852 GB, free: 14.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.006503, allocations: 417 kB / 0.9856 GB, free: 13.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.006579, allocations: 165.1 kB / 0.9857 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.006609, allocations: 84.14 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.006632, allocations: 75.28 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.006675, allocations: 117.8 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.006676, allocations: 0 / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.596e-05/0.006752, allocations: 33.64 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.006803, allocations: 126.7 kB / 0.9861 GB, free: 13.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.851e-05/0.006901, allocations: 97.86 kB / 0.9862 GB, free: 12.99 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.00691, allocations: 25.7 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.006937, allocations: 80.14 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.006939, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.006955, allocations: 9.719 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.007043, allocations: 318.8 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.007048, allocations: 4.125 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.077e-06/0.007052, allocations: 0 / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.007077, allocations: 75.28 kB / 0.9867 GB, free: 12.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.423e-05/0.007101, allocations: 79.22 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.979e-05/0.007151, allocations: 33.7 kB / 0.9868 GB, free: 12.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.007186, allocations: 79.28 kB / 0.9869 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.007208, allocations: 79.22 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.675e-05/0.007265, allocations: 158.5 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.694e-05/0.007292, allocations: 79.33 kB / 0.9872 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.159e-05/0.007333, allocations: 158.5 kB / 0.9874 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.007393, allocations: 79.28 kB / 0.9874 GB, free: 11.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.007414, allocations: 79.28 kB / 0.9875 GB, free: 11.64 MB / 0.948 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 9.932e-05/0.007513, allocations: 260.4 kB / 0.9878 GB, free: 11.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.007562, allocations: 108.9 kB / 0.9879 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.007607, allocations: 108.1 kB / 0.988 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.007658, allocations: 188.1 kB / 0.9881 GB, free: 10.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.117e-05/0.007709, allocations: 180.3 kB / 0.9883 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/0.007759, allocations: 176.3 kB / 0.9885 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.007917, allocations: 380.2 kB / 0.9888 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001425/0.008059, allocations: 101 kB / 0.9889 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.008087, allocations: 104.9 kB / 0.989 GB, free: 9.961 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.455e-05/0.008132, allocations: 184.3 kB / 0.9892 GB, free: 9.773 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.008186, allocations: 184.2 kB / 0.9894 GB, free: 9.586 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.723e-05/0.008234, allocations: 180.2 kB / 0.9896 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.531e-05/0.008279, allocations: 188.2 kB / 0.9897 GB, free: 9.211 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.008384, allocations: 303.8 kB / 0.99 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.00841, allocations: 105 kB / 0.9901 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.008463, allocations: 192.1 kB / 0.9903 GB, free: 8.586 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.148e-05/0.008515, allocations: 105 kB / 0.9904 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.008568, allocations: 180.2 kB / 0.9906 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.008592, allocations: 105 kB / 0.9907 GB, free: 8.184 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.008628, allocations: 79.28 kB / 0.9908 GB, free: 8.105 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008628, allocations: 0 / 0.9908 GB, free: 8.105 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002521/0.00888, allocations: 43.8 kB / 0.9908 GB, free: 8.062 MB / 0.948 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.0007316/0.009611, allocations: 0.9702 MB / 0.9918 GB, free: 7.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 4.604e-05/0.009657, allocations: 3.938 kB / 0.9918 GB, free: 7.109 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.00966, allocations: 0 / 0.9918 GB, free: 7.109 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.009661, allocations: 0 / 0.9918 GB, free: 7.109 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.009922, allocations: 455.7 kB / 0.9922 GB, free: 6.66 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.01101, allocations: 1.563 MB / 0.9937 GB, free: 5.016 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01105, allocations: 63.28 kB / 0.9938 GB, free: 4.934 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.01107, allocations: 0 / 0.9938 GB, free: 4.934 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.0111, allocations: 12.48 kB / 0.9938 GB, free: 4.922 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/0.0111, allocations: 4 kB / 0.9938 GB, free: 4.918 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.0322, allocations: 2.53 MB / 0.9963 GB, free: 2.531 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.831, allocations: 3.75 kB / 0.9963 GB, free: 2.531 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.958728574216366]