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.001057/0.001057, allocations: 108.8 kB / 16.37 MB, free: 6.309 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.001059/0.001059, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.457/2.457, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 63.94 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2882, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002511/0.2907, allocations: 1.469 MB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004022/0.2911, allocations: 187.3 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.2912, allocations: 4 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.2912, allocations: 3.938 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.2914, allocations: 15.86 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2916, allocations: 62.97 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.2918, allocations: 59.78 kB / 1.029 GB, free: 264 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.2919, allocations: 8 kB / 1.029 GB, free: 256 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.2919, allocations: 23.98 kB / 1.029 GB, free: 232 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.163e-05/0.292, allocations: 23.91 kB / 1.029 GB, free: 208 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.292, allocations: 4 kB / 1.029 GB, free: 204 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.2921, allocations: 4 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.2921, allocations: 19.86 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.281e-05/0.2921, allocations: 19.92 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2922, allocations: 55.73 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2923, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2923, allocations: 4 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2923, allocations: 0 / 1.029 GB, free: 100 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.0005685/0.2928, allocations: 355.5 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2929, allocations: 8.031 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.2929, allocations: 4.938 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.2931, allocations: 172.2 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2931, allocations: 384 / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2931, allocations: 12.36 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2933, allocations: 76.75 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2933, allocations: 192 / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.2933, allocations: 3.938 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2933, allocations: 4 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.205e-05/0.2934, allocations: 15.98 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.2937, allocations: 268.9 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.2938, allocations: 46.5 kB / 1.03 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2939, allocations: 24.88 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2939, allocations: 0 / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.2941, allocations: 59.39 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2941, allocations: 0 / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000226/0.2943, allocations: 69.62 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2944, allocations: 110.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.2945, allocations: 105.9 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2945, allocations: 29.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.2945, allocations: 88.03 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2946, allocations: 15.83 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2946, allocations: 21.72 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2947, allocations: 314.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.2948, allocations: 12 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.831e-05/0.2948, allocations: 34.56 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.2949, allocations: 37.17 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2949, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.941e-05/0.295, allocations: 65.53 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.295, allocations: 4 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.295, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.295, allocations: 0 / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.2951, allocations: 11.98 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2951, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2952, allocations: 8.031 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2953, allocations: 7.922 kB / 1.031 GB, free: 13.89 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.757e-05/0.2953, allocations: 117.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.2954, allocations: 4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.2954, allocations: 7.5 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2954, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2954, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.2955, allocations: 85.09 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2955, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.2956, allocations: 15.98 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.2956, allocations: 7.938 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001385/0.2958, allocations: 145.1 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001577/0.2959, allocations: 238.7 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.338e-05/0.296, allocations: 15.98 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.296, allocations: 91.22 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Backend: time 3.21e-07/0.296, allocations: 4 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003379/0.2964, allocations: 98.39 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0003877/0.2968, allocations: 0.5571 MB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.002952/0.2997, allocations: 0.9291 MB / 1.033 GB, free: 11.5 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 -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