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.001379/0.001379, allocations: 103.4 kB / 16.27 MB, free: 6.414 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.001298/0.001298, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.285/2.285, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.75 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.273, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003099/0.2762, allocations: 1.455 MB / 0.9517 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004967/0.2767, allocations: 183.4 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.2768, allocations: 0 / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.2768, allocations: 3.938 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.2771, allocations: 31.84 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.2773, allocations: 51.92 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2775, allocations: 51.84 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.2776, allocations: 8 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.2776, allocations: 27.86 kB / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.2777, allocations: 23.91 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2778, allocations: 4 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.2778, allocations: 4 kB / 0.9521 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.2778, allocations: 15.98 kB / 0.9521 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.2779, allocations: 27.8 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.278, allocations: 52.08 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.278, allocations: 0 / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.674e-06/0.278, allocations: 0 / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.278, allocations: 4 kB / 0.9522 GB, free: 6.914 MB / 0.7325 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.0005596/0.2786, allocations: 347.5 kB / 0.9525 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2786, allocations: 8.031 kB / 0.9525 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.2787, allocations: 8.844 kB / 0.9525 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.2788, allocations: 176.3 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2789, allocations: 384 / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2789, allocations: 384 / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.279, allocations: 76.75 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2791, allocations: 192 / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2791, allocations: 3.938 kB / 0.9528 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2791, allocations: 4 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/0.2792, allocations: 19.98 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.2796, allocations: 276.8 kB / 0.953 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.823e-05/0.2797, allocations: 38.52 kB / 0.9531 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.2797, allocations: 20.94 kB / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.2797, allocations: 0 / 0.9531 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2799, allocations: 71.38 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.2799, allocations: 0 / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.2801, allocations: 69.81 kB / 0.9532 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.2802, allocations: 106.8 kB / 0.9533 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.2803, allocations: 101.9 kB / 0.9534 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2803, allocations: 25.7 kB / 0.9535 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2804, allocations: 96.03 kB / 0.9535 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.2804, allocations: 7.844 kB / 0.9536 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.2805, allocations: 29.7 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.2806, allocations: 318.8 kB / 0.9539 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.2806, allocations: 8.25 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.2807, allocations: 38.56 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.303e-05/0.2807, allocations: 24.86 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2807, allocations: 0 / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.2809, allocations: 65.56 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2809, allocations: 10.53 kB / 0.954 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2809, allocations: 3.984 kB / 0.954 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2809, allocations: 0 / 0.954 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.281, allocations: 7.984 kB / 0.954 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.281, allocations: 7.984 kB / 0.954 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.2811, allocations: 15.89 kB / 0.9541 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2811, allocations: 3.938 kB / 0.9541 GB, free: 4.703 MB / 0.7325 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 8.15e-05/0.2812, allocations: 113.8 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.2813, allocations: 8 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.2813, allocations: 7.5 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2813, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2813, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2813, allocations: 0 / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2814, allocations: 173.6 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2815, allocations: 4 kB / 0.9544 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.2815, allocations: 3.938 kB / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2815, allocations: 0 / 0.9544 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.2815, allocations: 4 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2815, allocations: 0 / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2815, allocations: 4.188 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.2817, allocations: 89.05 kB / 0.9545 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.2817, allocations: 93 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2817, allocations: 4 kB / 0.9545 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.2819, allocations: 11.98 kB / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.2819, allocations: 0 / 0.9546 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2819, allocations: 7.984 kB / 0.9546 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.874e-05/0.282, allocations: 87.28 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.282, allocations: 0 / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000205/0.2822, allocations: 8 kB / 0.9547 GB, free: 3.996 MB / 0.7325 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.0001093/0.2823, allocations: 103.2 kB / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2824, allocations: 39.98 kB / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2825, allocations: 0 / 0.9548 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.2825, allocations: 15.98 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.2827, allocations: 9.438 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.283, allocations: 147.2 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2834, allocations: 0.6883 MB / 0.9556 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.2834, allocations: 15.42 kB / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2834, allocations: 0 / 0.9556 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of Templates: time 0.002665/0.2861, allocations: 0.8346 MB / 0.9565 GB, free: 2.094 MB / 0.7325 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/jenkins1/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