Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001855/0.001855, allocations: 105 kB / 16.4 MB, free: 6.508 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.002119/0.002119, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.437/1.437, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.66/2.66, allocations: 469.8 MB / 0.749 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 1.073 GB, free: 132 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7956/0.7975, allocations: 159.1 MB / 1.229 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002576/0.8001, allocations: 1.453 MB / 1.23 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.8006, allocations: 195.4 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.8006, allocations: 0 / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.8007, allocations: 3.938 kB / 1.23 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.8009, allocations: 15.86 kB / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.8011, allocations: 58.98 kB / 1.23 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.8012, allocations: 67.83 kB / 1.23 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.245e-05/0.8013, allocations: 11.78 kB / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.106e-05/0.8013, allocations: 27.86 kB / 1.23 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.8014, allocations: 23.91 kB / 1.23 GB, free: 2.957 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.8015, allocations: 4 kB / 1.23 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.8015, allocations: 4 kB / 1.23 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.8015, allocations: 11.98 kB / 1.23 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.8016, allocations: 27.86 kB / 1.231 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.8017, allocations: 43.86 kB / 1.231 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.8017, allocations: 4 kB / 1.231 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8017, allocations: 0 / 1.231 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8017, allocations: 0 / 1.231 GB, free: 2.863 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005312/0.8022, allocations: 357.3 kB / 1.231 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8023, allocations: 12.62 kB / 1.231 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.8023, allocations: 30.75 kB / 1.231 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.8024, allocations: 4.938 kB / 1.231 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.8025, allocations: 176.3 kB / 1.231 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.8025, allocations: 384 / 1.231 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.8026, allocations: 4.375 kB / 1.231 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.8027, allocations: 76.75 kB / 1.231 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8027, allocations: 3.938 kB / 1.231 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8027, allocations: 4 kB / 1.231 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.8027, allocations: 0 / 1.231 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.8028, allocations: 19.98 kB / 1.231 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.8032, allocations: 272.8 kB / 1.231 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.8033, allocations: 38.56 kB / 1.232 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.8033, allocations: 16.86 kB / 1.232 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.8033, allocations: 0 / 1.232 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.8035, allocations: 63.48 kB / 1.232 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.8035, allocations: 0 / 1.232 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.8037, allocations: 81.56 kB / 1.232 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.8038, allocations: 102.8 kB / 1.232 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.8039, allocations: 105.8 kB / 1.232 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.8039, allocations: 25.7 kB / 1.232 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.804, allocations: 92.08 kB / 1.232 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.804, allocations: 11.83 kB / 1.232 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.8041, allocations: 25.7 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8042, allocations: 318.8 kB / 1.232 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.8042, allocations: 11.98 kB / 1.232 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.346e-05/0.8043, allocations: 34.58 kB / 1.232 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.408e-05/0.8044, allocations: 37.16 kB / 1.232 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8044, allocations: 0 / 1.232 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.8045, allocations: 57.64 kB / 1.232 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8045, allocations: 8 kB / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.8045, allocations: 0 / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.8045, allocations: 0 / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.8046, allocations: 8.031 kB / 1.232 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8046, allocations: 0 / 1.232 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.8047, allocations: 18.02 kB / 1.232 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8047, allocations: 0 / 1.232 GB, free: 0.6211 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.256e-05/0.8048, allocations: 118.8 kB / 1.233 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.8049, allocations: 8 kB / 1.233 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.8049, allocations: 7.484 kB / 1.233 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8049, allocations: 0 / 1.233 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8049, allocations: 0 / 1.233 GB, free: 488 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8049, allocations: 4 kB / 1.233 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.8051, allocations: 177.5 kB / 1.233 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8051, allocations: 192 / 1.233 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.8051, allocations: 7.984 kB / 1.233 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.8051, allocations: 0 / 1.233 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8051, allocations: 3.984 kB / 1.233 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8051, allocations: 4 kB / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8051, allocations: 0 / 1.233 GB, free: 240 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.8053, allocations: 93.05 kB / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.8054, allocations: 81.11 kB / 1.233 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.8054, allocations: 7.984 kB / 1.233 GB, free: 20 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.8055, allocations: 4 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.8055, allocations: 11.92 kB / 1.233 GB, free: 4 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.8056, allocations: 4.062 kB / 1.233 GB, free: 0 / 0.9356 GB Notification: Performance of sorting global known variables: time 7.115e-05/0.8056, allocations: 87.33 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.913e-06/0.8056, allocations: 0 / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001909/0.8058, allocations: 11.94 kB / 1.233 GB, free: 15.9 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004668/0.8063, allocations: 0.644 MB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.8064, allocations: 31.94 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8064, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.239e-05/0.8065, allocations: 19.92 kB / 1.234 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.8066, allocations: 4 kB / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.8078, allocations: 1.168 MB / 1.235 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.8081, allocations: 0.6923 MB / 1.236 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.8081, allocations: 4 kB / 1.236 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.8082, allocations: 7.438 kB / 1.236 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.8082, allocations: 0 / 1.236 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.8294, allocations: 1.801 MB / 1.237 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.908, allocations: 8.438 kB / 1.237 GB, free: 11.57 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.714415658032522]