Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_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_latest_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.01024/0.01024, allocations: 107.1 kB / 15.74 MB, free: 5.996 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.002138/0.002139, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.054 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9957/0.997, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00286/0.9999, allocations: 1.443 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004811/1, allocations: 195.4 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/1, allocations: 3.938 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/1, allocations: 0 / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/1.001, allocations: 23.86 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/1.001, allocations: 63.83 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/1.001, allocations: 55.84 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/1.001, allocations: 4 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/1.001, allocations: 23.92 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/1.001, allocations: 31.91 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/1.001, allocations: 4 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/1.001, allocations: 4 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/1.002, allocations: 11.98 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/1.002, allocations: 19.86 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/1.002, allocations: 55.52 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/1.002, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/1.002, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.195e-06/1.002, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 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.0005781/1.002, allocations: 353.4 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.002, allocations: 8.031 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/1.002, allocations: 4.938 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/1.003, allocations: 172.2 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/1.003, allocations: 384 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/1.003, allocations: 4.375 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/1.003, allocations: 72.81 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.003, allocations: 192 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/1.003, allocations: 11.94 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.003, allocations: 3.938 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/1.003, allocations: 15.98 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/1.003, allocations: 276.8 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/1.003, allocations: 38.56 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.554e-05/1.003, allocations: 16.94 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/1.004, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/1.004, allocations: 67.33 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.464e-06/1.004, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002321/1.004, allocations: 69.59 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.004, allocations: 110.8 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/1.004, allocations: 97.86 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/1.004, allocations: 33.7 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/1.004, allocations: 88.12 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/1.004, allocations: 15.89 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/1.004, allocations: 13.72 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/1.004, allocations: 322.8 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/1.004, allocations: 15.94 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/1.004, allocations: 34.5 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/1.005, allocations: 25.23 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.005, allocations: 4.031 kB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000105/1.005, allocations: 69.59 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.005, allocations: 4 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.005, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.005, allocations: 0 / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/1.005, allocations: 11.98 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.005, allocations: 0 / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/1.005, allocations: 4 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.005, allocations: 3.984 kB / 1.212 GB, free: 9.457 MB / 0.9356 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 9.561e-05/1.005, allocations: 125.7 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/1.005, allocations: 4.188 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/1.005, allocations: 7.484 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/1.005, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.005, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/1.005, allocations: 4 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/1.005, allocations: 173.6 kB / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.005, allocations: 0 / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/1.005, allocations: 0 / 1.212 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.005, allocations: 4 kB / 1.212 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/1.005, allocations: 4 kB / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.005, allocations: 0 / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.005, allocations: 0 / 1.212 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/1.005, allocations: 96.89 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/1.005, allocations: 96.97 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/1.006, allocations: 4 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/1.006, allocations: 7.984 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/1.006, allocations: 0 / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.006, allocations: 8 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.269e-05/1.006, allocations: 87.27 kB / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.006, allocations: 0 / 1.212 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000196/1.006, allocations: 12 kB / 1.212 GB, free: 8.734 MB / 0.9356 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.0001142/1.006, allocations: 99.5 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.006, allocations: 31.98 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.006, allocations: 3.938 kB / 1.212 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/1.006, allocations: 19.92 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/1.006, allocations: 13.97 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/1.007, allocations: 129.4 kB / 1.212 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/1.007, allocations: 0.6807 MB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.21e-05/1.007, allocations: 4 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/1.007, allocations: 15.42 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/1.007, allocations: 0 / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of Templates: time 0.003451/1.011, allocations: 0.893 MB / 1.214 GB, free: 6.801 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches