Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001348/0.001348, 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.001611/0.001611, allocations: 212.5 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.114/3.114, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_12_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.002054/0.002054, allocations: 72.23 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3753, allocations: 176.1 MB / 1.325 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00308/0.3784, allocations: 1.495 MB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004765/0.3789, allocations: 175.5 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.3789, allocations: 0 / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.3789, allocations: 3.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3791, allocations: 27.84 kB / 1.327 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3793, allocations: 59.55 kB / 1.327 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3795, allocations: 59.78 kB / 1.327 GB, free: 492 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.3795, allocations: 7.938 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.593e-05/0.3796, allocations: 31.91 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.3797, allocations: 15.92 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.3797, allocations: 4 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3797, allocations: 8 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.3797, allocations: 11.92 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.3798, allocations: 23.91 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.3799, allocations: 43.88 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3799, allocations: 0 / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3799, allocations: 4 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3799, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 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.0005267/0.3804, allocations: 270.3 kB / 1.327 GB, free: 36 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3805, allocations: 8.031 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.3805, allocations: 42.73 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3806, allocations: 4.891 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3808, allocations: 110.5 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3808, allocations: 4.375 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3808, allocations: 4.375 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.381, allocations: 128.2 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.381, allocations: 7.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.381, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.381, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.3811, allocations: 19.98 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.3815, allocations: 243.9 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3816, allocations: 38.56 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.3817, allocations: 12.86 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.3817, allocations: 0 / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.3819, allocations: 71.47 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3819, allocations: 4 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0003219/0.3822, allocations: 77.61 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.3823, allocations: 102.8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3824, allocations: 105.8 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3824, allocations: 29.64 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.768e-05/0.3825, allocations: 92.09 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3825, allocations: 7.891 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.3826, allocations: 25.7 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002148/0.3828, allocations: 318.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.3828, allocations: 8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.3829, allocations: 89.97 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.712e-05/0.3829, allocations: 32.78 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3829, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001113/0.3831, allocations: 53.7 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3831, allocations: 10.33 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3831, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3831, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.3832, allocations: 8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3832, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3833, allocations: 19.88 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3833, allocations: 4 kB / 1.329 GB, free: 14.16 MB / 1.029 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.905e-05/0.3834, allocations: 124.9 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.3834, allocations: 4 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.3834, allocations: 3.688 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3834, allocations: 4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3834, allocations: 4.422 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3834, allocations: 0 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.3836, allocations: 136.7 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3836, allocations: 4 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.3836, allocations: 4 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3836, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3836, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3836, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3836, allocations: 0 / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.3838, allocations: 97 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.3838, allocations: 7.984 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.3838, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3839, allocations: 15.98 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.384, allocations: 3.938 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.384, allocations: 11.92 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.506e-05/0.384, allocations: 83.28 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.384, allocations: 4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001944/0.3842, allocations: 12 kB / 1.329 GB, free: 13.57 MB / 1.029 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.0004941/0.3847, allocations: 0.6202 MB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3849, allocations: 31.92 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3849, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3849, allocations: 16.22 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.385, allocations: 11.5 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.3864, allocations: 1.165 MB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.3865, allocations: 71.33 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.3865, allocations: 7.906 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.3866, allocations: 15.42 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3866, allocations: 4 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.4181, allocations: 2.358 MB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 7.312 kB / 1.334 GB, free: 9.316 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.090336843859404]