Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001573/0.001573, allocations: 106 kB / 16.45 MB, free: 6.445 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.001471/0.001471, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] 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.6/2.6, allocations: 443.5 MB / 0.7287 GB, free: 14.53 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.056 GB, free: 2.535 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 160.7 MB / 1.213 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002423/0.3395, allocations: 1.251 MB / 1.214 GB, free: 244 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.3407, allocations: 0.7427 MB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.3407, allocations: 0 / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.3407, allocations: 0 / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.3409, allocations: 11.92 kB / 1.215 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.3411, allocations: 63.48 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.3412, allocations: 23.92 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3413, allocations: 3.984 kB / 1.215 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.58e-05/0.3413, allocations: 11.94 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3415, allocations: 11.97 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3415, allocations: 0 / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.3415, allocations: 8 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.3416, allocations: 3.938 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.3416, allocations: 11.98 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.3417, allocations: 28.12 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3417, allocations: 4 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3417, allocations: 0 / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.3417, allocations: 0 / 1.215 GB, free: 15.32 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.0003654/0.3421, allocations: 331.4 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3421, allocations: 8.031 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.018e-05/0.3422, allocations: 110 kB / 1.215 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.3422, allocations: 80.17 kB / 1.216 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.3424, allocations: 247.5 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.3425, allocations: 158.9 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.3426, allocations: 150.9 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.3426, allocations: 105.5 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/0.3427, allocations: 83.2 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.134e-05/0.3427, allocations: 154.6 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.3428, allocations: 158.6 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.3429, allocations: 150.6 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3432, allocations: 453.9 kB / 1.217 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.3433, allocations: 169.9 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.3434, allocations: 84.14 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3434, allocations: 75.28 kB / 1.217 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.3434, allocations: 105.8 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3434, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.929e-05/0.3435, allocations: 41.52 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.3436, allocations: 130.7 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3437, allocations: 105.8 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3438, allocations: 29.7 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.3438, allocations: 80.14 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.3438, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3438, allocations: 17.7 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.344, allocations: 318.8 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.344, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.344, allocations: 11.98 kB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.3441, allocations: 16.95 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3441, allocations: 0 / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000118/0.3442, allocations: 53.58 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3442, allocations: 7.938 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3442, allocations: 0 / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3442, allocations: 256 / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3442, allocations: 0 / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3442, allocations: 7.984 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.45e-05/0.3443, allocations: 4 kB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3443, allocations: 0 / 1.218 GB, free: 11.69 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001164/0.3444, allocations: 193.1 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-05/0.3445, allocations: 104.9 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.3446, allocations: 108.5 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/0.3446, allocations: 184.3 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.601e-05/0.3447, allocations: 188.2 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.969e-05/0.3448, allocations: 184.3 kB / 1.219 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3451, allocations: 401.2 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-05/0.3451, allocations: 108.9 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.3451, allocations: 101 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-05/0.3452, allocations: 188.1 kB / 1.22 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.232e-05/0.3453, allocations: 176.3 kB / 1.22 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.661e-05/0.3454, allocations: 184.3 kB / 1.22 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.623e-05/0.3454, allocations: 184.2 kB / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3456, allocations: 303.8 kB / 1.221 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3457, allocations: 186 kB / 1.221 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/0.3458, allocations: 192.1 kB / 1.221 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.3459, allocations: 108.9 kB / 1.221 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.346, allocations: 180.3 kB / 1.221 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.346, allocations: 104.9 kB / 1.222 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.3461, allocations: 87.27 kB / 1.222 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3461, allocations: 0 / 1.222 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002321/0.3463, allocations: 4 kB / 1.222 GB, free: 8.066 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.0006245/0.3469, allocations: 0.8126 MB / 1.222 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.347, allocations: 15.92 kB / 1.222 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.347, allocations: 4.062 kB / 1.222 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.347, allocations: 4 kB / 1.222 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.3474, allocations: 451.7 kB / 1.223 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3485, allocations: 1.306 MB / 1.224 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3489, allocations: 0.6729 MB / 1.225 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.3489, allocations: 8.078 kB / 1.225 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.3489, allocations: 7.438 kB / 1.225 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3489, allocations: 0 / 1.225 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02678/0.3757, allocations: 1.299 MB / 1.226 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.309, allocations: 10.81 kB / 1.226 GB, free: 3.504 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 14.427084611263126]