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.001289/0.001289, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001441/0.001441, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 71.05 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2934, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002877/0.2963, allocations: 1.466 MB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004499/0.2968, allocations: 191.3 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.2969, allocations: 0 / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/0.2969, allocations: 3.938 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.2972, allocations: 19.86 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2974, allocations: 55.67 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.2976, allocations: 63.77 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2977, allocations: 4 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.2977, allocations: 23.98 kB / 1.029 GB, free: 212 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.2978, allocations: 23.91 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2978, allocations: 4 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.2979, allocations: 8 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.2979, allocations: 11.92 kB / 1.029 GB, free: 164 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.2979, allocations: 27.86 kB / 1.029 GB, free: 136 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2981, allocations: 47.8 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2981, allocations: 0 / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2981, allocations: 0 / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.2981, allocations: 0 / 1.029 GB, free: 88 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.0005266/0.2986, allocations: 363.5 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2987, allocations: 8.031 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.2987, allocations: 4.938 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2988, allocations: 168.2 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2989, allocations: 4.375 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2989, allocations: 4.375 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.299, allocations: 76.75 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.299, allocations: 192 / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2991, allocations: 7.938 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2991, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.2991, allocations: 19.98 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.2995, allocations: 272.9 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.366e-05/0.2996, allocations: 38.52 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.2997, allocations: 20.88 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.2997, allocations: 11.94 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.2998, allocations: 55.39 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.2998, allocations: 0 / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001977/0.3, allocations: 81.61 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.3001, allocations: 102.8 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.3002, allocations: 101.9 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3002, allocations: 25.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.3002, allocations: 96.03 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3003, allocations: 15.83 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3003, allocations: 25.7 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3004, allocations: 314.8 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.879e-05/0.3005, allocations: 8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.3005, allocations: 38.56 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.3006, allocations: 25.23 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3006, allocations: 8.031 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.3007, allocations: 61.53 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3007, allocations: 8 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3007, allocations: 192 / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3007, allocations: 0 / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.3008, allocations: 7.984 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3008, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.3009, allocations: 15.97 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3009, allocations: 0 / 1.031 GB, free: 13.88 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 7.961e-05/0.301, allocations: 125.8 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.301, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.3011, allocations: 11.5 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3011, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3011, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3011, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3012, allocations: 173.6 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3012, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.3013, allocations: 4 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3013, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.3013, allocations: 7.938 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3013, allocations: 7.938 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3013, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3014, allocations: 92.95 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3015, allocations: 85.09 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3015, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3016, allocations: 10.38 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.3017, allocations: 8 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3017, allocations: 11.92 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.3017, allocations: 91.34 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3017, allocations: 0 / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001903/0.3019, allocations: 8 kB / 1.031 GB, free: 13.15 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.0001087/0.302, allocations: 99.25 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.3022, allocations: 31.92 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.3022, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.067e-05/0.3023, allocations: 19.98 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.3024, allocations: 11.94 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.3028, allocations: 117.5 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.303, allocations: 0.6807 MB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3031, allocations: 7.984 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/0.3031, allocations: 7.438 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of SimCode: time 2.034e-06/0.3031, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of Templates: time 0.003153/0.3063, allocations: 0.869 MB / 1.033 GB, free: 11.26 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 gbode -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