Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.001569/0.001569, allocations: 105.7 kB / 16.45 MB, free: 6.508 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.001988/0.001988, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.475/1.475, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.077/3.077, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.002665/0.002665, allocations: 65.22 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3865, allocations: 176.1 MB / 1.321 GB, free: 3.281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003251/0.3898, allocations: 1.47 MB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005304/0.3903, allocations: 191.4 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.3903, allocations: 0 / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.3904, allocations: 7.922 kB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.3907, allocations: 23.86 kB / 1.322 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3909, allocations: 70.03 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3911, allocations: 59.84 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3912, allocations: 3.938 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.929e-05/0.3913, allocations: 31.91 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3914, allocations: 19.92 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3914, allocations: 4 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.3914, allocations: 4 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.88e-05/0.3914, allocations: 11.98 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.3915, allocations: 23.91 kB / 1.323 GB, free: 1.359 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3916, allocations: 47.81 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3916, allocations: 4 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3916, allocations: 0 / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.3916, allocations: 0 / 1.323 GB, free: 1.309 MB / 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.0006735/0.3923, allocations: 347.4 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.3924, allocations: 15.98 kB / 1.323 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.3924, allocations: 34.73 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3925, allocations: 8.891 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3926, allocations: 168.3 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.3926, allocations: 12.36 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3927, allocations: 4.375 kB / 1.323 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3928, allocations: 76.75 kB / 1.323 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3928, allocations: 3.938 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3929, allocations: 0 / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3929, allocations: 0 / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.3929, allocations: 19.98 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.3934, allocations: 280.8 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3935, allocations: 38.56 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.3936, allocations: 20.94 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3936, allocations: 0 / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.3938, allocations: 63.33 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3938, allocations: 0 / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0002605/0.3941, allocations: 69.69 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.285e-05/0.3942, allocations: 110.8 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3943, allocations: 101.9 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.3943, allocations: 29.7 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3943, allocations: 88.08 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.3944, allocations: 7.953 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.3944, allocations: 21.72 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3946, allocations: 318.8 kB / 1.324 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.3946, allocations: 16 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.3947, allocations: 34.5 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.786e-05/0.3948, allocations: 25.23 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3948, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001298/0.3949, allocations: 65.69 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3949, allocations: 4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3949, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3949, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.395, allocations: 11.98 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.395, allocations: 4.031 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3951, allocations: 14.08 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3951, allocations: 7.922 kB / 1.325 GB, free: 15.06 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 0.00011/0.3952, allocations: 121.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.3953, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.3953, allocations: 7.5 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3953, allocations: 3.938 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3953, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3953, allocations: 4 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3955, allocations: 173.6 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3955, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.3955, allocations: 0 / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3955, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3955, allocations: 4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3955, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3955, allocations: 0 / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.3957, allocations: 101.1 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.3958, allocations: 89.09 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3958, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3959, allocations: 11.98 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3959, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3959, allocations: 4 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.396, allocations: 87.33 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.396, allocations: 0 / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002188/0.3962, allocations: 16 kB / 1.325 GB, free: 14.34 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.0006137/0.3968, allocations: 0.6241 MB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.397, allocations: 35.92 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.397, allocations: 0 / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.42e-05/0.397, allocations: 12 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.3972, allocations: 1.016 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3986, allocations: 1.18 MB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.3989, allocations: 0.6884 MB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.399, allocations: 4 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.399, allocations: 15.42 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of SimCode: time 2.6e-07/0.399, allocations: 0 / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4244, allocations: 1.808 MB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.498, allocations: 2.344 kB / 1.33 GB, free: 10.02 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --stepSize=25228.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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: 15.013212385121733]