Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 443.5 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 60.14 kB / 1.059 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2599, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002272/0.2622, allocations: 1.251 MB / 1.217 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2637, allocations: 1.076 MB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.2638, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.2638, allocations: 0 / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004148/0.2642, allocations: 111.5 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 2.816e-06/0.2642, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.2642, allocations: 3.984 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.2643, allocations: 4 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.2643, allocations: 7.875 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.2644, allocations: 4 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.681e-06/0.2644, allocations: 4 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.2646, allocations: 119.8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.2646, allocations: 4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.2646, allocations: 3.984 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2648, allocations: 111.9 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2648, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2648, allocations: 4 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2648, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 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.0003401/0.2652, allocations: 351.1 kB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2652, allocations: 16.03 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.2653, allocations: 106 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.2653, allocations: 80.22 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.2655, allocations: 239.7 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.66e-05/0.2655, allocations: 154.9 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.2656, allocations: 150.9 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.804e-05/0.2657, allocations: 120.8 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.2657, allocations: 75.28 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.2658, allocations: 150.6 kB / 1.22 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.2658, allocations: 150.6 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.2659, allocations: 150.6 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.2662, allocations: 446 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.2663, allocations: 177.1 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.2663, allocations: 84.12 kB / 1.221 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.2663, allocations: 79.22 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.2664, allocations: 109.8 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.2664, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.365e-05/0.2665, allocations: 29.7 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.2665, allocations: 126.7 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.2666, allocations: 93.8 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2666, allocations: 29.7 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2667, allocations: 80.14 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/0.2667, allocations: 16 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2667, allocations: 21.83 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2668, allocations: 310.8 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-06/0.2668, allocations: 0 / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.809e-06/0.2668, allocations: 4.016 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.2669, allocations: 79.28 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/0.2669, allocations: 75.28 kB / 1.222 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.612e-05/0.267, allocations: 33.58 kB / 1.222 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.267, allocations: 83.28 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.267, allocations: 83.22 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.955e-05/0.2671, allocations: 150.6 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.666e-05/0.2671, allocations: 75.28 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.837e-05/0.2672, allocations: 170.5 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.2673, allocations: 75.28 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.2673, allocations: 79.22 kB / 1.222 GB, free: 8.824 MB / 0.9669 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.0001198/0.2674, allocations: 260.4 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.2675, allocations: 108.9 kB / 1.223 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.2675, allocations: 112 kB / 1.223 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/0.2676, allocations: 180.3 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.824e-05/0.2677, allocations: 176.3 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.648e-05/0.2677, allocations: 192.1 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.268, allocations: 397.2 kB / 1.224 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/0.268, allocations: 112.9 kB / 1.224 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.2681, allocations: 105 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-05/0.2681, allocations: 176.3 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.2682, allocations: 180.2 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-05/0.2683, allocations: 184.2 kB / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.577e-05/0.2684, allocations: 184.2 kB / 1.224 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.2685, allocations: 299.8 kB / 1.225 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.2686, allocations: 194 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.111e-05/0.2687, allocations: 184.3 kB / 1.225 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.2688, allocations: 104.9 kB / 1.225 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.2688, allocations: 184.3 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2689, allocations: 101 kB / 1.226 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.2689, allocations: 75.28 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2689, allocations: 3.938 kB / 1.226 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003011/0.2692, allocations: 39.8 kB / 1.226 GB, free: 5.121 MB / 0.9669 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.0008476/0.2701, allocations: 0.9604 MB / 1.227 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 3.493e-05/0.2701, allocations: 4 kB / 1.227 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2701, allocations: 0 / 1.227 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.2701, allocations: 7.938 kB / 1.227 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.2705, allocations: 455.7 kB / 1.227 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2716, allocations: 1.555 MB / 1.229 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.272, allocations: 0.669 MB / 1.229 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.285e-06/0.272, allocations: 128 / 1.229 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.272, allocations: 19.42 kB / 1.229 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.272, allocations: 0 / 1.229 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.2976, allocations: 1.857 MB / 1.231 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.357, allocations: 11.97 kB / 1.231 GB, free: 15.6 MB / 0.9825 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.613612875997205]