Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001445/0.001445, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001752/0.001752, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.98 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.397/3.397, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_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.002062/0.002062, allocations: 70.2 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 180.2 MB / 1.353 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002981/0.3517, allocations: 1.477 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004988/0.3522, allocations: 199.3 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.3523, allocations: 4 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3523, allocations: 0 / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.3525, allocations: 25.97 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.3528, allocations: 59.84 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3529, allocations: 55.8 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.353, allocations: 15.91 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.353, allocations: 19.98 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.305e-05/0.3531, allocations: 19.92 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.3532, allocations: 4 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.3532, allocations: 8 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.222e-05/0.3532, allocations: 23.91 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.3532, allocations: 15.94 kB / 1.355 GB, free: 6.465 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3534, allocations: 47.86 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3534, allocations: 0 / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3534, allocations: 0 / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3534, allocations: 0 / 1.355 GB, free: 6.418 MB / 1.045 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.0005429/0.3539, allocations: 274.3 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.354, allocations: 8.031 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.354, allocations: 38.75 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.354, allocations: 8.891 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3542, allocations: 118.4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3542, allocations: 4.375 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3542, allocations: 4.375 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.3544, allocations: 68.81 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3544, allocations: 3.938 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3544, allocations: 7.938 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3544, allocations: 8 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.3545, allocations: 15.94 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.3549, allocations: 247.9 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.355, allocations: 34.58 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.3551, allocations: 20.88 kB / 1.356 GB, free: 5.438 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3551, allocations: 4 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.3553, allocations: 63.33 kB / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3553, allocations: 0 / 1.356 GB, free: 5.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.3555, allocations: 73.67 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.465e-05/0.3556, allocations: 102.8 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3557, allocations: 109.8 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3557, allocations: 25.7 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3558, allocations: 88.09 kB / 1.356 GB, free: 4.918 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3558, allocations: 11.95 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3559, allocations: 21.7 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.356, allocations: 318.8 kB / 1.356 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.356, allocations: 11.94 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.3561, allocations: 34.56 kB / 1.356 GB, free: 4.504 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.3562, allocations: 24.84 kB / 1.356 GB, free: 4.477 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3562, allocations: 4 kB / 1.356 GB, free: 4.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00011/0.3563, allocations: 61.69 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3563, allocations: 4 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3563, allocations: 4 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3563, allocations: 3.984 kB / 1.357 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.3564, allocations: 7.938 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3564, allocations: 0 / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3565, allocations: 16.36 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3565, allocations: 4.172 kB / 1.357 GB, free: 4.367 MB / 1.045 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.0001117/0.3566, allocations: 125.7 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.3567, allocations: 3.984 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3567, allocations: 7.688 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3567, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.3567, allocations: 4 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3567, allocations: 3.984 kB / 1.357 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3568, allocations: 140.7 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3568, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.766e-05/0.3569, allocations: 4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3569, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3569, allocations: 7.938 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3569, allocations: 7.984 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3569, allocations: 7.938 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.3571, allocations: 88.95 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.3571, allocations: 11.98 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3571, allocations: 0 / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3572, allocations: 7.984 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3573, allocations: 7.984 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3573, allocations: 8 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.3573, allocations: 83.28 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3573, allocations: 0 / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002048/0.3575, allocations: 12 kB / 1.357 GB, free: 3.773 MB / 1.045 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.0005271/0.3581, allocations: 0.6241 MB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.3582, allocations: 35.92 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3582, allocations: 0 / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.3583, allocations: 23.97 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.3584, allocations: 0 / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3597, allocations: 1.172 MB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.36, allocations: 0.6768 MB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.931e-05/0.36, allocations: 7.984 kB / 1.36 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.3601, allocations: 11.44 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.3601, allocations: 4 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3913, allocations: 1.895 MB / 1.361 GB, free: 15.35 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.34, allocations: 3.062 kB / 1.361 GB, free: 15.35 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --stepSize=25228.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.27835891698487]