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.001294/0.001294, allocations: 110.7 kB / 15.99 MB, free: 6.355 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.001292/0.001292, allocations: 193.7 kB / 16.91 MB, free: 6.191 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.301/1.301, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.258/2.258, allocations: 390.3 MB / 0.665 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.62 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002903/0.2766, allocations: 1.527 MB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004274/0.2771, allocations: 179.5 kB / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.2772, allocations: 0 / 0.9514 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2772, allocations: 3.938 kB / 0.9514 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.2775, allocations: 15.91 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.2777, allocations: 55.94 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2778, allocations: 59.83 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.2779, allocations: 4 kB / 0.9516 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.216e-05/0.278, allocations: 23.92 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.2781, allocations: 27.91 kB / 0.9516 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.2781, allocations: 4 kB / 0.9516 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.591e-05/0.2781, allocations: 4 kB / 0.9516 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.2782, allocations: 7.984 kB / 0.9516 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.2782, allocations: 23.86 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.489e-05/0.2783, allocations: 36.16 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2783, allocations: 11.94 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2783, allocations: 0 / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2783, allocations: 0 / 0.9517 GB, free: 7.207 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.0005325/0.2789, allocations: 347.5 kB / 0.952 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2789, allocations: 8.031 kB / 0.952 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.279, allocations: 8.844 kB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2791, allocations: 172.3 kB / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2791, allocations: 384 / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.2792, allocations: 4.375 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.2793, allocations: 76.81 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2793, allocations: 192 / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2794, allocations: 7.875 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2794, allocations: 4 kB / 0.9523 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.2794, allocations: 12 kB / 0.9523 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.2798, allocations: 280.8 kB / 0.9526 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.2799, allocations: 38.56 kB / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.2799, allocations: 16.8 kB / 0.9526 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.28, allocations: 4 kB / 0.9526 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.2801, allocations: 59.48 kB / 0.9527 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.2801, allocations: 0 / 0.9527 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.2803, allocations: 77.61 kB / 0.9528 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.2804, allocations: 106.8 kB / 0.9529 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.2805, allocations: 109.8 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2805, allocations: 29.7 kB / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.2806, allocations: 84.05 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.2806, allocations: 15.84 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.2806, allocations: 17.7 kB / 0.9531 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2808, allocations: 322.8 kB / 0.9534 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.554e-05/0.2808, allocations: 19.92 kB / 0.9534 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.2809, allocations: 26.58 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.2809, allocations: 29.22 kB / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2809, allocations: 0 / 0.9535 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001149/0.2811, allocations: 69.62 kB / 0.9536 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.2811, allocations: 6.031 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2811, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2811, allocations: 0 / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.586e-05/0.2812, allocations: 12.03 kB / 0.9536 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2812, allocations: 0 / 0.9536 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.2813, allocations: 11.89 kB / 0.9536 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2813, allocations: 0 / 0.9536 GB, free: 5.012 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.191e-05/0.2814, allocations: 117.8 kB / 0.9537 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2815, allocations: 4.188 kB / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.2815, allocations: 7.484 kB / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2815, allocations: 3.984 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2815, allocations: 4 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.2815, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.2816, allocations: 177.6 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2816, allocations: 0 / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.2817, allocations: 3.984 kB / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.2817, allocations: 4 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2817, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2817, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2817, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.2818, allocations: 93 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.2819, allocations: 93 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2819, allocations: 0 / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.282, allocations: 11.98 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2821, allocations: 3.984 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.2821, allocations: 4 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.2822, allocations: 87.34 kB / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2822, allocations: 0 / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002051/0.2824, allocations: 12 kB / 0.9542 GB, free: 4.297 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.0001122/0.2825, allocations: 111.2 kB / 0.9543 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.2826, allocations: 35.92 kB / 0.9543 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2826, allocations: 3.938 kB / 0.9543 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.2827, allocations: 12 kB / 0.9543 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.2828, allocations: 7.938 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.2832, allocations: 163.3 kB / 0.9545 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.2834, allocations: 0.6862 MB / 0.9552 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.2835, allocations: 7.438 kB / 0.9552 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.2835, allocations: 0 / 0.9552 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of Templates: time 0.00232/0.2858, allocations: 0.8405 MB / 0.956 GB, free: 2.379 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