Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001276/0.001276, 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.001424/0.001424, allocations: 214 kB / 22.25 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.797 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.279/3.279, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_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.002842/0.002842, allocations: 65.59 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3784, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002678/0.3811, allocations: 1.477 MB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004426/0.3816, allocations: 179.5 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.3816, allocations: 4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.3816, allocations: 4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3818, allocations: 23.84 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.382, allocations: 62.05 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3821, allocations: 59.78 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.3822, allocations: 7.938 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.3823, allocations: 23.92 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3823, allocations: 19.97 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3824, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.3824, allocations: 11.94 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.3824, allocations: 7.984 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3825, allocations: 23.92 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3826, allocations: 47.86 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3826, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3826, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3826, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 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.0005093/0.3831, allocations: 274.2 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3831, allocations: 12.03 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.3832, allocations: 34.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.3832, allocations: 8.938 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3833, allocations: 122.4 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3833, allocations: 384 / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.3833, allocations: 4.375 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3835, allocations: 120.2 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3835, allocations: 7.875 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3835, allocations: 8 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3835, allocations: 3.984 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/0.3836, allocations: 15.98 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.384, allocations: 235.9 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3841, allocations: 38.58 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.3841, allocations: 20.88 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.3841, allocations: 4 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.3843, allocations: 59.39 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3843, allocations: 0 / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.3845, allocations: 73.62 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3846, allocations: 110.8 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.3847, allocations: 109.8 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.3847, allocations: 29.69 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.3848, allocations: 80.14 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3848, allocations: 19.94 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.3849, allocations: 25.66 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.385, allocations: 318.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.3851, allocations: 8 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.263e-05/0.3851, allocations: 85.97 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.3852, allocations: 24.84 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3852, allocations: 4 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001061/0.3853, allocations: 58.02 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3853, allocations: 4 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3853, allocations: 4 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3853, allocations: 8.078 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.3854, allocations: 8 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3854, allocations: 0 / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3855, allocations: 15.92 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3855, allocations: 0 / 1.367 GB, free: 9.895 MB / 1.061 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.0001024/0.3856, allocations: 117.8 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3857, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.3857, allocations: 11.69 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3857, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.3857, allocations: 0 / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3857, allocations: 7.984 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3859, allocations: 136.6 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3859, allocations: 0 / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.3859, allocations: 4 kB / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3859, allocations: 0 / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3859, allocations: 0 / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3859, allocations: 4 kB / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3859, allocations: 0 / 1.367 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.3861, allocations: 96.98 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3861, allocations: 7.984 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3861, allocations: 7.938 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.3862, allocations: 11.98 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3863, allocations: 8.172 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3863, allocations: 0 / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.3863, allocations: 87.27 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3863, allocations: 0 / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001927/0.3865, allocations: 15.95 kB / 1.368 GB, free: 9.309 MB / 1.061 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.0005277/0.387, allocations: 0.6319 MB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3872, allocations: 31.98 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3872, allocations: 0 / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.3872, allocations: 16 kB / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3874, allocations: 3.938 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3886, allocations: 1.182 MB / 1.369 GB, free: 7.332 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.3886, allocations: 63.34 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.3887, allocations: 4 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.3887, allocations: 15.42 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3887, allocations: 0 / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.4187, allocations: 2.361 MB / 1.372 GB, free: 5.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.49, allocations: 2.875 kB / 1.372 GB, free: 5.051 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.3193730362691]