Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007545/0.007546, allocations: 100.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 196.3 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7671, allocations: 140.4 MB / 1.087 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002448/0.7696, allocations: 1.445 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.77, allocations: 195.4 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.77, allocations: 5.062 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.7701, allocations: 1.219 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.7703, allocations: 28.88 kB / 1.089 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.7705, allocations: 56.97 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.7706, allocations: 52.59 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.563e-05/0.7707, allocations: 9.484 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.7708, allocations: 23.36 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.7708, allocations: 23.86 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.7709, allocations: 3.312 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.7709, allocations: 4.438 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.7709, allocations: 13.36 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.771, allocations: 18.27 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.7711, allocations: 60.12 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7711, allocations: 0 / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7711, allocations: 0 / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7711, allocations: 1.312 kB / 1.089 GB, free: 3.852 MB / 0.8575 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.0004221/0.7715, allocations: 345.8 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7716, allocations: 9.781 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.7716, allocations: 37.12 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.7716, allocations: 8.156 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.7717, allocations: 176.9 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.7717, allocations: 5.719 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7717, allocations: 2.875 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.7719, allocations: 75.39 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.7719, allocations: 3.938 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7719, allocations: 0 / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7719, allocations: 2.016 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.772, allocations: 15.73 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.7723, allocations: 282.9 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/0.7724, allocations: 37.56 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.7724, allocations: 16.47 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.7724, allocations: 1.516 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.7726, allocations: 66.88 kB / 1.09 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7726, allocations: 4 kB / 1.09 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.00019/0.7728, allocations: 73.81 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7728, allocations: 104.5 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.799e-05/0.7729, allocations: 108.8 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7729, allocations: 25.7 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.828e-05/0.7729, allocations: 87.59 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.773, allocations: 10.67 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.773, allocations: 26.7 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.7731, allocations: 321.5 kB / 1.091 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.7731, allocations: 10.03 kB / 1.091 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.7731, allocations: 35.75 kB / 1.091 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.7732, allocations: 25.27 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7732, allocations: 1.094 kB / 1.091 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.147e-05/0.7733, allocations: 63.5 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7733, allocations: 5.625 kB / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7733, allocations: 0 / 1.091 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7733, allocations: 4.812 kB / 1.091 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-05/0.7734, allocations: 11.28 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7734, allocations: 4.547 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.7735, allocations: 8.656 kB / 1.091 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.7735, allocations: 5.656 kB / 1.091 GB, free: 1.898 MB / 0.8575 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.818e-05/0.7736, allocations: 118.3 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.7736, allocations: 2.375 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.7736, allocations: 4.875 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7737, allocations: 6.016 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7737, allocations: 0 / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7737, allocations: 0.8125 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.863e-05/0.7738, allocations: 171.9 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7738, allocations: 0.8438 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.7738, allocations: 3.516 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7738, allocations: 1.438 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.7738, allocations: 5.219 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7738, allocations: 0 / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7738, allocations: 0.625 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.774, allocations: 98.56 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.774, allocations: 90.56 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.774, allocations: 1.375 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.7741, allocations: 9.328 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.7742, allocations: 3.844 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.7742, allocations: 6.359 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.961e-05/0.7742, allocations: 81.7 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7742, allocations: 0 / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002158/0.7744, allocations: 18.34 kB / 1.092 GB, free: 1.289 MB / 0.8575 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.0004007/0.7748, allocations: 0.6276 MB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.775, allocations: 34.47 kB / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.775, allocations: 0 / 1.093 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.775, allocations: 14.25 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.7752, allocations: 16.02 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/0.7762, allocations: 1.173 MB / 1.094 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.7764, allocations: 0.6789 MB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.7764, allocations: 5.531 kB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.7765, allocations: 19.3 kB / 1.094 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.7765, allocations: 0 / 1.094 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.7928, allocations: 1.771 MB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/8.229, allocations: 9.594 kB / 1.096 GB, free: 14.46 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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