Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01246/0.01246, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.002014/0.002014, allocations: 190 kB / 16.67 MB, free: 5.969 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.477/1.477, 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 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 71.84 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9868/0.988, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002485/0.9906, allocations: 1.463 MB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000395/0.991, allocations: 187.4 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.991, allocations: 0 / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.991, allocations: 3.938 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.9912, allocations: 27.84 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.9914, allocations: 57.66 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.9915, allocations: 59.78 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.208e-05/0.9915, allocations: 11.98 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.9916, allocations: 23.92 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.9917, allocations: 19.92 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.9917, allocations: 4 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/0.9917, allocations: 4 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.9917, allocations: 23.91 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.9918, allocations: 15.94 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.404e-05/0.9919, allocations: 51.64 kB / 1.168 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9919, allocations: 8 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9919, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.9919, allocations: 0 / 1.169 GB, free: 1.867 MB / 0.8887 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.0004677/0.9924, allocations: 348 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.9924, allocations: 12.03 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.9924, allocations: 0.9375 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9926, allocations: 172.4 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.9926, allocations: 384 / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.9926, allocations: 4.375 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.9927, allocations: 76.75 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.9928, allocations: 4.188 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.9928, allocations: 7.875 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.9928, allocations: 0 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.9928, allocations: 23.97 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.9932, allocations: 272.8 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.9933, allocations: 42.56 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.9933, allocations: 16.86 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.9933, allocations: 0 / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.9934, allocations: 63.48 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9935, allocations: 0 / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001975/0.9937, allocations: 73.61 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.9937, allocations: 110.8 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.9938, allocations: 113.8 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.9938, allocations: 25.7 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.9939, allocations: 92.03 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.9939, allocations: 7.953 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.9939, allocations: 21.7 kB / 1.17 GB, free: 184 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.9941, allocations: 322.8 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.9941, allocations: 7.984 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.746e-05/0.9942, allocations: 38.56 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.9942, allocations: 28.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9942, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.195e-05/0.9943, allocations: 61.64 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.9943, allocations: 4 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.9943, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.9944, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.031e-05/0.9944, allocations: 8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.9944, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.9945, allocations: 16.02 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.9946, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 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.226e-05/0.9946, allocations: 113.8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.9947, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.9947, allocations: 11.48 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9947, allocations: 7.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9947, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9947, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.9948, allocations: 177.6 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9948, allocations: 448 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.9949, allocations: 7.984 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.9949, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9949, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9949, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9949, allocations: 3.938 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.995, allocations: 97 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.9951, allocations: 77.11 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.9951, allocations: 15.98 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.9952, allocations: 7.938 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.9953, allocations: 8.219 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.9953, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.9953, allocations: 87.22 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9953, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001919/0.9955, allocations: 15.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 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.0001155/0.9956, allocations: 107.2 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.9958, allocations: 27.98 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9958, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.9958, allocations: 16 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.996, allocations: 9.062 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.9963, allocations: 131.5 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.9966, allocations: 0.6807 MB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.9966, allocations: 8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.9967, allocations: 11.44 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9967, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.002942/0.9996, allocations: 0.8733 MB / 1.173 GB, free: 13.04 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches