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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001693/0.001692, allocations: 103.6 kB / 16.35 MB, free: 6.285 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.001615/0.001615, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 69.86 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3807, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002862/0.3836, allocations: 1.47 MB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.3841, allocations: 187.3 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.3842, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.3842, allocations: 11.88 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3845, allocations: 15.86 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.3847, allocations: 59.16 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.3849, allocations: 59.78 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.385, allocations: 11.98 kB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.3851, allocations: 23.98 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.14e-05/0.3852, allocations: 23.91 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3852, allocations: 4 kB / 1.029 GB, free: 224 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3852, allocations: 4 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/0.3853, allocations: 15.92 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.3853, allocations: 19.88 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3855, allocations: 55.78 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3855, allocations: 0 / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3855, allocations: 4 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3855, allocations: 0 / 1.029 GB, free: 124 kB / 0.795 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.0006584/0.3861, allocations: 351.5 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3862, allocations: 12.03 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.3862, allocations: 0.9375 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3864, allocations: 176.2 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3864, allocations: 384 / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3865, allocations: 8.375 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3866, allocations: 76.75 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3866, allocations: 192 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.3867, allocations: 7.938 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3867, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.918e-05/0.3867, allocations: 15.98 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3872, allocations: 268.9 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.3873, allocations: 50.44 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.3873, allocations: 16.86 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3873, allocations: 0 / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.3875, allocations: 59.48 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3875, allocations: 0 / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002412/0.3878, allocations: 73.8 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3878, allocations: 110.8 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.388, allocations: 105.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.388, allocations: 29.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.388, allocations: 84.05 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.3881, allocations: 19.83 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.3881, allocations: 21.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3882, allocations: 314.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.3883, allocations: 19.92 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.3883, allocations: 38.55 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.417e-05/0.3884, allocations: 29.23 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3884, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.3885, allocations: 69.53 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3885, allocations: 4 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3885, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3886, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.3886, allocations: 8 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.3886, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3888, allocations: 12.02 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3888, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 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.727e-05/0.3889, allocations: 117.8 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.3889, allocations: 4 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.3889, allocations: 11.48 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.3889, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3889, allocations: 0 / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.389, allocations: 4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3891, allocations: 165.6 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3891, allocations: 7.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.3891, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.3891, allocations: 7.938 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3891, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3891, allocations: 3.938 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3891, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.3893, allocations: 92.95 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.3894, allocations: 81.11 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.3894, allocations: 11.98 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.3895, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.3895, allocations: 3.984 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3896, allocations: 12.06 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.3896, allocations: 83.27 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000188/0.3898, allocations: 16 kB / 1.031 GB, free: 13.2 MB / 0.8106 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.0001213/0.3899, allocations: 95.25 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.3901, allocations: 39.92 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3901, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.3901, allocations: 12 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.3903, allocations: 7.938 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.3906, allocations: 126.3 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3909, allocations: 0.6807 MB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.3909, allocations: 11.94 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3909, allocations: 15.44 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of SimCode: time 1.332e-06/0.3909, allocations: 0 / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002944/0.3939, allocations: 0.8676 MB / 1.033 GB, free: 11.3 MB / 0.8106 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 -s cvode -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/jenkins1/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