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.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.001387/0.001387, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001639/0.001639, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476 MB / 0.7699 GB, free: 4.758 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002236/0.002236, allocations: 66 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3686, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002945/0.3715, allocations: 1.467 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005061/0.372, allocations: 177.2 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.3721, allocations: 8 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.3721, allocations: 3.938 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.3724, allocations: 23.84 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.3726, allocations: 59.84 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.3727, allocations: 51.84 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3728, allocations: 15.97 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.3729, allocations: 23.92 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.3729, allocations: 19.92 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.373, allocations: 4 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.373, allocations: 8 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.803e-05/0.373, allocations: 15.97 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.3731, allocations: 15.88 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3732, allocations: 53.69 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3732, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3732, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.3732, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 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.0005734/0.3738, allocations: 271.7 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3738, allocations: 12.03 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.3738, allocations: 34.75 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.3739, allocations: 12.89 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.374, allocations: 114.5 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.374, allocations: 4.375 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.374, allocations: 4.375 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3743, allocations: 128.2 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3743, allocations: 7.875 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3743, allocations: 7.938 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3743, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.3744, allocations: 16 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.3748, allocations: 232 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3749, allocations: 42.5 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.3749, allocations: 16.86 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.3749, allocations: 0 / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.3752, allocations: 71.44 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.404e-06/0.3752, allocations: 0 / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.3754, allocations: 73.61 kB / 1.285 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.3755, allocations: 106.8 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.3756, allocations: 105.8 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.3756, allocations: 29.7 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.3757, allocations: 80.14 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.3757, allocations: 19.89 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3757, allocations: 17.72 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3759, allocations: 326.8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.3759, allocations: 8 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.376, allocations: 85.97 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.425e-05/0.3761, allocations: 24.86 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3761, allocations: 0 / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.3762, allocations: 61.62 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3762, allocations: 8 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3762, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3762, allocations: 4.031 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.3763, allocations: 4.438 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3763, allocations: 0 / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3764, allocations: 19.92 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3764, allocations: 3.984 kB / 1.286 GB, free: 8.316 MB / 0.9825 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 0.0001087/0.3765, allocations: 121.8 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.3766, allocations: 7.953 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.3766, allocations: 3.688 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3766, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3766, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3766, allocations: 7.938 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.3767, allocations: 140.9 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3767, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.3768, allocations: 11.92 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3768, allocations: 3.984 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.3768, allocations: 4 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3768, allocations: 3.938 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3768, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3769, allocations: 89.06 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.377, allocations: 7.938 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.377, allocations: 8 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3771, allocations: 11.98 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3771, allocations: 7.984 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3771, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.817e-05/0.3772, allocations: 83.28 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3772, allocations: 0 / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001977/0.3774, allocations: 12 kB / 1.287 GB, free: 7.73 MB / 0.9825 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.0005286/0.3779, allocations: 0.6319 MB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.378, allocations: 27.98 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3781, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.3781, allocations: 19.92 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.3783, allocations: 8 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3796, allocations: 1.165 MB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.3797, allocations: 67.33 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.3797, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.3798, allocations: 15.44 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3798, allocations: 0 / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4141, allocations: 2.355 MB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.04, allocations: 7.109 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB " [Timeout remaining time 287] (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/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: 19.021177214104682]