Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 59.91 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7961, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002382/0.7985, allocations: 1.485 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003959/0.7989, allocations: 181.6 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.7989, allocations: 0 / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.799, allocations: 5.422 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.7992, allocations: 29.81 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.7994, allocations: 58.5 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.7995, allocations: 56.22 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.7996, allocations: 12.08 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.739e-05/0.7996, allocations: 23.33 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.7997, allocations: 19.05 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.7997, allocations: 5 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.7998, allocations: 3.938 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.7998, allocations: 17.2 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.7998, allocations: 26.89 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.995e-05/0.7999, allocations: 45.02 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7999, allocations: 4 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7999, allocations: 0 / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7999, allocations: 0.7812 kB / 1.273 GB, free: 6.426 MB / 0.9981 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.0004376/0.8004, allocations: 349.3 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.8004, allocations: 9.594 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.8004, allocations: 36.23 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.8005, allocations: 4.016 kB / 1.274 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.8006, allocations: 180.6 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.8006, allocations: 2.891 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.8006, allocations: 2.094 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.8007, allocations: 74.94 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8007, allocations: 7.922 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.8007, allocations: 1 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8007, allocations: 1.5 kB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.8008, allocations: 15.45 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.8011, allocations: 279.5 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.45e-05/0.8012, allocations: 33.64 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.8012, allocations: 14.92 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.8012, allocations: 1.312 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.8013, allocations: 70.92 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8013, allocations: 0.8125 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000197/0.8015, allocations: 72.27 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.8016, allocations: 105 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.8016, allocations: 104.4 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8016, allocations: 26.61 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.685e-05/0.8017, allocations: 96.36 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.8017, allocations: 9.625 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.8017, allocations: 29.31 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.8018, allocations: 319.6 kB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.8018, allocations: 9.344 kB / 1.275 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.8018, allocations: 36.22 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.8019, allocations: 24.89 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8019, allocations: 4 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.049e-05/0.802, allocations: 58.47 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.802, allocations: 6.219 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.802, allocations: 4.031 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.802, allocations: 1 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.8021, allocations: 4.969 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.8021, allocations: 1.094 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.8022, allocations: 11.44 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.8022, allocations: 1.156 kB / 1.275 GB, free: 4.488 MB / 0.9981 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 5.595e-05/0.8023, allocations: 124 kB / 1.275 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.8023, allocations: 6.078 kB / 1.275 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.8023, allocations: 8.438 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8023, allocations: 0.75 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8023, allocations: 0.75 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8023, allocations: 1.5 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.948e-05/0.8024, allocations: 176 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8024, allocations: 4.719 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.8024, allocations: 3.281 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8024, allocations: 1.5 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.8024, allocations: 0.9688 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.8024, allocations: 0 / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.8024, allocations: 5.094 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.8025, allocations: 92.78 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.8026, allocations: 83.88 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.8026, allocations: 5.672 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.8027, allocations: 10.92 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.8027, allocations: 7.438 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.8027, allocations: 2.625 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.8028, allocations: 93.77 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8028, allocations: 3.938 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001876/0.803, allocations: 14.42 kB / 1.276 GB, free: 3.859 MB / 0.9981 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.000322/0.8033, allocations: 0.6358 MB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.8034, allocations: 29.34 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8034, allocations: 4.781 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.8034, allocations: 14.27 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.8036, allocations: 11.47 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.8044, allocations: 1.172 MB / 1.278 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.8047, allocations: 0.6846 MB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.8047, allocations: 4.625 kB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.8048, allocations: 16.55 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.8048, allocations: 0.6562 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.828, allocations: 1.754 MB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.779/7.607, allocations: 6.172 kB / 1.28 GB, free: 17 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,conTim.modTim,conTim.calTim Variables in the result:conTim.calTim,conTim.calTimAux,conTim.modTim,conTim.modTimAux,conTim.weaDatEndTim,conTim.weaDatStaTim,modTim.y,time [Calling sys.exit(0), Time elapsed: 12.892207030999998]