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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009253, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008986/0.0008986, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.913/2.913, allocations: 462.6 MB / 0.736 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000438/0.0004381, allocations: 11.41 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4157, allocations: 159.6 MB / 1.058 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001848/0.4176, allocations: 1.163 MB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004498/0.4181, allocations: 167.6 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4181, allocations: 4 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.4182, allocations: 3.938 kB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.4184, allocations: 15.91 kB / 1.059 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.4187, allocations: 54.55 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.4188, allocations: 55.7 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.4189, allocations: 7.984 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.4189, allocations: 23.92 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.419, allocations: 15.91 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.419, allocations: 4 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.4191, allocations: 0 / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.4191, allocations: 11.98 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.4191, allocations: 37.64 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.877e-05/0.4192, allocations: 28.16 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4192, allocations: 4 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4192, allocations: 0 / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4192, allocations: 0 / 1.06 GB, free: 3.801 MB / 0.8106 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.0005571/0.4198, allocations: 332.6 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4199, allocations: 8.031 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.4199, allocations: 11.89 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.4201, allocations: 171 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4201, allocations: 0 / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.4201, allocations: 19.88 kB / 1.06 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4203, allocations: 72.19 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4203, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4203, allocations: 4 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4203, allocations: 4 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.952e-05/0.4204, allocations: 19.98 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.4208, allocations: 276.8 kB / 1.06 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.49e-05/0.4209, allocations: 42.5 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.421, allocations: 16.86 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.421, allocations: 0 / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.4212, allocations: 63.48 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.4212, allocations: 4 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002249/0.4214, allocations: 69.67 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.4215, allocations: 106.8 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.4216, allocations: 105.8 kB / 1.061 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4216, allocations: 25.7 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.4217, allocations: 92.08 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.4217, allocations: 15.73 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4217, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4218, allocations: 326.8 kB / 1.061 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.4218, allocations: 8 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.4219, allocations: 30.56 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.4219, allocations: 12 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4219, allocations: 0 / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.392e-05/0.422, allocations: 61.62 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4221, allocations: 9.719 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4221, allocations: 0 / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4221, allocations: 4.031 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.4222, allocations: 7.984 kB / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4222, allocations: 0 / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.7e-05/0.4223, allocations: 8 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4223, allocations: 4 kB / 1.061 GB, free: 1.66 MB / 0.8106 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.4224, allocations: 121.8 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.4224, allocations: 3.906 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.4224, allocations: 3.5 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4225, allocations: 8 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4225, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4225, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.4226, allocations: 173.6 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4226, allocations: 448 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.4226, allocations: 4 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4227, allocations: 3.938 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4227, allocations: 4 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4227, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4227, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4228, allocations: 105.2 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.4229, allocations: 85.09 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.4229, allocations: 4 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.423, allocations: 11.98 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.4231, allocations: 0 / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4231, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.4231, allocations: 87.27 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4231, allocations: 7.938 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001934/0.4233, allocations: 11.91 kB / 1.062 GB, free: 0.9375 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.4235, allocations: 103.2 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4236, allocations: 35.92 kB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4236, allocations: 0 / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.4237, allocations: 12 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.4238, allocations: 7.984 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.4242, allocations: 136.5 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4245, allocations: 0.6809 MB / 1.063 GB, free: 15.9 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.917e-05/0.4245, allocations: 4 kB / 1.063 GB, free: 15.9 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.4246, allocations: 11.44 kB / 1.063 GB, free: 15.89 MB / 0.8263 GB Notification: Performance of SimCode: time 2.31e-07/0.4246, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8263 GB Notification: Performance of Templates: time 0.003196/0.4278, allocations: 0.8183 MB / 1.064 GB, free: 15.12 MB / 0.8263 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) 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) Reference file matches