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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_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_9_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.001691/0.001691, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001871/0.001871, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.2 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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.88 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8697, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002577/0.8723, allocations: 1.457 MB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004471/0.8728, allocations: 190.6 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.8729, allocations: 5.062 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.729e-05/0.8729, allocations: 1.125 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.8731, allocations: 28.59 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.8733, allocations: 53.55 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.8734, allocations: 57.14 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.8735, allocations: 8.562 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.93e-05/0.8736, allocations: 26.8 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.8737, allocations: 19.81 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.8737, allocations: 4.312 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.714e-05/0.8737, allocations: 4.375 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.8738, allocations: 9.469 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.8738, allocations: 30.23 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.8739, allocations: 48.52 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.874, allocations: 4.688 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.253e-06/0.874, allocations: 0 / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.874, allocations: 0 / 1.091 GB, free: 4.262 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.0004558/0.8744, allocations: 354.3 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.8745, allocations: 8.75 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.8745, allocations: 3.312 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.8746, allocations: 174.3 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.8746, allocations: 13.5 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.8747, allocations: 2.594 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.8748, allocations: 70.73 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8748, allocations: 8.172 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.8748, allocations: 5.844 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8748, allocations: 1.125 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.8749, allocations: 22.8 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.8752, allocations: 275.1 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.662e-05/0.8753, allocations: 38.28 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.8754, allocations: 16.61 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.8754, allocations: 1.031 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.8755, allocations: 62.7 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.8755, allocations: 5.062 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.8757, allocations: 73.41 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.8758, allocations: 104.8 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.392e-05/0.8758, allocations: 103.7 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.8759, allocations: 27.14 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.8759, allocations: 90.77 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.8759, allocations: 11.67 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.876, allocations: 20.66 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.432e-05/0.876, allocations: 321.6 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.8761, allocations: 11 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.8761, allocations: 36.06 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.8762, allocations: 25.17 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8762, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.282e-05/0.8763, allocations: 60.17 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8763, allocations: 5.562 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8763, allocations: 3.984 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.8763, allocations: 4.547 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/0.8764, allocations: 10.98 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8764, allocations: 1.188 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.8765, allocations: 8.406 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.8766, allocations: 1.859 kB / 1.092 GB, free: 2.359 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 6.256e-05/0.8766, allocations: 117.9 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.8766, allocations: 10.77 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.8767, allocations: 9.312 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8767, allocations: 10.02 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8767, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8767, allocations: 0 / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.698e-05/0.8768, allocations: 173 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8768, allocations: 1.188 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.257e-05/0.8768, allocations: 2.844 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.8768, allocations: 1.094 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.8769, allocations: 0.5156 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8769, allocations: 1.797 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8769, allocations: 0 / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.877, allocations: 101.5 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.877, allocations: 87.77 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.8771, allocations: 1.906 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.8772, allocations: 13.28 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.8772, allocations: 6.906 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.8772, allocations: 2.359 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.8773, allocations: 86.64 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8773, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002008/0.8775, allocations: 13.53 kB / 1.093 GB, free: 1.734 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 9.771e-05/0.8776, allocations: 101.2 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.8777, allocations: 33.56 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8777, allocations: 0 / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/0.8778, allocations: 15.25 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.8779, allocations: 11.55 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.8782, allocations: 140.8 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.8783, allocations: 0.6844 MB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.8784, allocations: 10.31 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.8784, allocations: 0 / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Templates: time 0.002393/0.8808, allocations: 0.8328 MB / 1.095 GB, free: 0.7188 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.modTim,time