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.001033/0.001033, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001275/0.001275, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8657/0.8657, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.724/1.724, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.994e-05, allocations: 4.531 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003131/0.003161, allocations: 1.459 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.003586, allocations: 188 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.003629, allocations: 7.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.003658, allocations: 3.938 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.003919, allocations: 15.86 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.00409, allocations: 70.34 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.168e-05/0.004181, allocations: 59.84 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004285, allocations: 4 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.75e-05/0.004362, allocations: 43.89 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.004438, allocations: 11.97 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.004475, allocations: 8 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.004488, allocations: 8 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.004516, allocations: 19.92 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.004556, allocations: 11.98 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.004678, allocations: 63.78 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.004684, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.677e-06/0.004687, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.004693, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000566/0.005259, allocations: 284.5 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.005309, allocations: 9.344 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.005348, allocations: 34.73 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.005389, allocations: 12.89 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.005497, allocations: 113.8 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.005511, allocations: 8.312 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.005522, allocations: 4.375 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.005677, allocations: 132.2 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005683, allocations: 192 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.005693, allocations: 4.375 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005699, allocations: 4.125 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.005741, allocations: 15.98 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.006127, allocations: 255.9 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.006231, allocations: 46.56 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.006259, allocations: 16.8 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006271, allocations: 4 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.006487, allocations: 63.48 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.006488, allocations: 3.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001841/0.006672, allocations: 77.67 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.006727, allocations: 106.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.006797, allocations: 101.9 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.006811, allocations: 33.69 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.006849, allocations: 96.03 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.006865, allocations: 11.89 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.006917, allocations: 25.7 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.006996, allocations: 314.8 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.503e-05/0.007021, allocations: 15.98 kB / 1.003 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.007073, allocations: 89.97 kB / 1.003 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.007153, allocations: 36.8 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007156, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.036e-05/0.007236, allocations: 77.64 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.00725, allocations: 8 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.007255, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.007267, allocations: 4.031 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.007332, allocations: 4 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.007337, allocations: 4 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.615e-05/0.007393, allocations: 7.984 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007401, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 7.586e-05/0.007477, allocations: 121.8 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.007485, allocations: 11.89 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.007507, allocations: 8.312 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007509, allocations: 4 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.007514, allocations: 4 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007517, allocations: 0 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.621e-05/0.007603, allocations: 136.7 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007604, allocations: 0 / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.007616, allocations: 7.984 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007618, allocations: 0 / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.007625, allocations: 4 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007626, allocations: 0 / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007628, allocations: 4 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.007716, allocations: 93 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.00775, allocations: 15.88 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.007764, allocations: 4 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.007813, allocations: 17.55 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.007847, allocations: 3.984 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.007852, allocations: 4 kB / 1.004 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.897e-05/0.007881, allocations: 83.28 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007881, allocations: 0 / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001269/0.008008, allocations: 15.94 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003233/0.008331, allocations: 0.6319 MB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.438e-05/0.008426, allocations: 35.92 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.008428, allocations: 8 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.008454, allocations: 20.23 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.008562, allocations: 8 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008941/0.009456, allocations: 1.212 MB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.567e-05/0.009512, allocations: 63.34 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.286e-05/0.009565, allocations: 11.98 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.009614, allocations: 12.5 kB / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of SimCode: time 9.62e-07/0.009615, allocations: 0 / 1.006 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.02762, allocations: 2.561 MB / 1.009 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.7/6.727, allocations: 5.969 kB / 1.009 GB, free: 4.172 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.659145897254348]