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.001512/0.001512, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00185/0.00185, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 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.215/3.215, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.84 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3393, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002865/0.3422, allocations: 1.253 MB / 1.347 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3441, allocations: 1.111 MB / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.3442, allocations: 0 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.3442, allocations: 0 / 1.348 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.3446, allocations: 115.5 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.488e-06/0.3446, allocations: 0 / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.302e-05/0.3447, allocations: 0 / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.3447, allocations: 7.984 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.3447, allocations: 4 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.3448, allocations: 4 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.3448, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.3451, allocations: 127.8 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-06/0.3451, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.3451, allocations: 7.938 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.3453, allocations: 100 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3453, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3453, allocations: 0 / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3453, allocations: 4 kB / 1.348 GB, free: 13.71 MB / 1.045 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.0003871/0.3457, allocations: 283.5 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3457, allocations: 12.03 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.3e-05/0.3458, allocations: 79.45 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.3459, allocations: 106 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.3459, allocations: 76.22 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.3461, allocations: 189.8 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/0.3462, allocations: 162.9 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3464, allocations: 154.7 kB / 1.349 GB, free: 12.6 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.3465, allocations: 104.9 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.3465, allocations: 75.28 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/0.3466, allocations: 150.6 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.756e-05/0.3467, allocations: 150.6 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.3467, allocations: 158.6 kB / 1.35 GB, free: 11.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003448/0.3471, allocations: 417 kB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.3472, allocations: 165.1 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3473, allocations: 88.06 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.3474, allocations: 79.28 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.3474, allocations: 109.8 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3474, allocations: 0 / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.814e-05/0.3475, allocations: 33.64 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.3476, allocations: 126.7 kB / 1.351 GB, free: 10.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3477, allocations: 93.86 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.3478, allocations: 25.83 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.3478, allocations: 88.08 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3478, allocations: 0 / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.3478, allocations: 17.7 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.348, allocations: 314.8 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-06/0.348, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.348, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/0.348, allocations: 75.28 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/0.3481, allocations: 75.28 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.392e-05/0.3481, allocations: 41.58 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.3482, allocations: 79.28 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-05/0.3482, allocations: 75.38 kB / 1.351 GB, free: 9.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.758e-05/0.3483, allocations: 158.6 kB / 1.352 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.3484, allocations: 83.2 kB / 1.352 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.7e-05/0.3484, allocations: 150.6 kB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3485, allocations: 87.22 kB / 1.352 GB, free: 9.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.3486, allocations: 79.28 kB / 1.352 GB, free: 9.422 MB / 1.045 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.0001676/0.3488, allocations: 260.3 kB / 1.352 GB, free: 9.156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.3488, allocations: 104.9 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.3489, allocations: 119.9 kB / 1.352 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002051/0.3491, allocations: 184.3 kB / 1.353 GB, free: 8.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.981e-05/0.3492, allocations: 184.2 kB / 1.353 GB, free: 8.543 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.612e-05/0.3493, allocations: 176.3 kB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.3498, allocations: 376.2 kB / 1.353 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.802e-05/0.3499, allocations: 104.9 kB / 1.353 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.3499, allocations: 109 kB / 1.354 GB, free: 7.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.3501, allocations: 188.2 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.3503, allocations: 180.3 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.27e-05/0.3503, allocations: 184.2 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.922e-05/0.3504, allocations: 180.2 kB / 1.354 GB, free: 6.977 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.3507, allocations: 311.7 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.3508, allocations: 101 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.3509, allocations: 188.2 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.351, allocations: 101 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3511, allocations: 184.3 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.3513, allocations: 108.9 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.037e-05/0.3514, allocations: 79.28 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3514, allocations: 3.938 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004227/0.3518, allocations: 39.8 kB / 1.355 GB, free: 5.824 MB / 1.045 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.001121/0.3529, allocations: 0.9407 MB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 4.565e-05/0.353, allocations: 7.938 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.353, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.353, allocations: 0 / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.3534, allocations: 455.7 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3549, allocations: 1.564 MB / 1.358 GB, free: 2.797 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3553, allocations: 0.6766 MB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.016e-05/0.3553, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.3553, allocations: 15.42 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of SimCode: time 6.41e-07/0.3553, allocations: 0 / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.3825, allocations: 2.006 MB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.67, allocations: 0 / 1.361 GB, free: 244 kB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 18.54338661802467]