Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007532/0.007532, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001675/0.001675, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.268/2.268, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9655/0.9668, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002906/0.9697, allocations: 1.456 MB / 1.089 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004966/0.9703, allocations: 187.2 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.9703, allocations: 0.9062 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.9704, allocations: 4.547 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.9707, allocations: 24.25 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.9709, allocations: 56.8 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.971, allocations: 60.78 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.9712, allocations: 5.031 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.9712, allocations: 31.36 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.9713, allocations: 19.81 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.9714, allocations: 4.781 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.9714, allocations: 3.719 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.9714, allocations: 17.31 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.9715, allocations: 21.81 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.9716, allocations: 56.7 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9716, allocations: 1.156 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9717, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.9717, allocations: 0.6094 kB / 1.09 GB, free: 4.238 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.000547/0.9722, allocations: 352.2 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.9723, allocations: 9.219 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.9723, allocations: 3.547 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.9724, allocations: 169.2 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.9725, allocations: 1.562 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.9725, allocations: 10.5 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.9727, allocations: 75.55 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.9727, allocations: 192 / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.9727, allocations: 5.031 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.9727, allocations: 1.062 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.762e-05/0.9728, allocations: 19.56 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.9732, allocations: 275.1 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.9733, allocations: 42.03 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.9734, allocations: 16.86 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.9734, allocations: 0.7188 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.9736, allocations: 59.11 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.9736, allocations: 3.984 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002348/0.9738, allocations: 86.64 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.9739, allocations: 105.1 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.974, allocations: 103.2 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.974, allocations: 26.95 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.974, allocations: 86.42 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.9741, allocations: 14.91 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.9741, allocations: 21.95 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.9742, allocations: 317.8 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.9742, allocations: 14.88 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-05/0.9743, allocations: 35.38 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/0.9744, allocations: 25.17 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9744, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.9745, allocations: 59.5 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9745, allocations: 13.73 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9745, allocations: 0.9062 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9745, allocations: 0.5625 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.9746, allocations: 11.81 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9746, allocations: 0 / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.9747, allocations: 8.484 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.9748, allocations: 2.031 kB / 1.092 GB, free: 2.344 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 7.612e-05/0.9748, allocations: 118.1 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.9749, allocations: 6.578 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.9749, allocations: 9.719 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.9749, allocations: 1.25 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9749, allocations: 4 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9749, allocations: 0.7969 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.975, allocations: 180.9 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.975, allocations: 0 / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.444e-05/0.9751, allocations: 8.016 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9751, allocations: 0 / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9751, allocations: 1.859 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9751, allocations: 0 / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9751, allocations: 1.891 kB / 1.092 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.9752, allocations: 93.5 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.9753, allocations: 86.95 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.9753, allocations: 1.828 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.9754, allocations: 8.859 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9755, allocations: 7.078 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.9755, allocations: 2.984 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.9755, allocations: 81.28 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9756, allocations: 1.094 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002005/0.9758, allocations: 14.31 kB / 1.092 GB, free: 1.73 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.0001152/0.9759, allocations: 107.6 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.976, allocations: 29.55 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.976, allocations: 0 / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.9761, allocations: 15.08 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.9763, allocations: 14.44 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.9766, allocations: 119.1 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.9767, allocations: 0.688 MB / 1.093 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.9768, allocations: 9.656 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.9768, allocations: 14.89 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9768, allocations: 0 / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.003769/0.9806, allocations: 0.8797 MB / 1.094 GB, free: 0.6758 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches