Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001756/0.001756, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.001715/0.001715, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.388/1.388, 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 9.1.3-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 59.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9443/0.9458, allocations: 140.4 MB / 1.089 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002553/0.9484, allocations: 1.442 MB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.9489, allocations: 191.6 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.9489, allocations: 3.938 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.949, allocations: 5.719 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.9492, allocations: 15.52 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.9494, allocations: 59.38 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.9495, allocations: 61.23 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.9497, allocations: 8.109 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.9497, allocations: 27 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.9498, allocations: 24.27 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.9498, allocations: 4.094 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.9499, allocations: 4.562 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.9499, allocations: 13.47 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.95, allocations: 18.27 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.9501, allocations: 56.53 kB / 1.091 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9501, allocations: 0 / 1.091 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9501, allocations: 0 / 1.091 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.9501, allocations: 0.9375 kB / 1.091 GB, free: 4.477 MB / 0.8575 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.0005611/0.9507, allocations: 348.6 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9508, allocations: 9.625 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.9508, allocations: 3.859 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.9509, allocations: 173.7 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.9509, allocations: 5.5 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.951, allocations: 2.688 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.9511, allocations: 82.58 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9512, allocations: 192 / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.9512, allocations: 9.25 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.9512, allocations: 1.594 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.9513, allocations: 15.64 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.9516, allocations: 278.5 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.9518, allocations: 34.14 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.9518, allocations: 21.72 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.9518, allocations: 0 / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.952, allocations: 62.59 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.952, allocations: 1.125 kB / 1.092 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002148/0.9522, allocations: 73.66 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.9523, allocations: 104.2 kB / 1.092 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.9523, allocations: 107.8 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.9524, allocations: 30.83 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.9524, allocations: 87.97 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.9524, allocations: 6.656 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.9525, allocations: 21.41 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.9525, allocations: 322.4 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.049e-05/0.9526, allocations: 10.67 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.9526, allocations: 35.16 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/0.9527, allocations: 29.86 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.9527, allocations: 0 / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.313e-05/0.9528, allocations: 63.08 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.9528, allocations: 5.469 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9528, allocations: 5.359 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9528, allocations: 0.6562 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.9529, allocations: 7.062 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9529, allocations: 0 / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.953, allocations: 8.5 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.9531, allocations: 5.891 kB / 1.092 GB, free: 2.582 MB / 0.8575 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 6.921e-05/0.9531, allocations: 126.1 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.9532, allocations: 7.734 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.9532, allocations: 8 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.9532, allocations: 1.75 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9532, allocations: 5 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9532, allocations: 0.5156 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.862e-05/0.9533, allocations: 176.2 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9533, allocations: 0 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.9533, allocations: 7.797 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9534, allocations: 1.156 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9534, allocations: 0.6562 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.9534, allocations: 1.5 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9534, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.9535, allocations: 93.64 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.9536, allocations: 91.94 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.9536, allocations: 2 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.9537, allocations: 12.66 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.9537, allocations: 3.391 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.9538, allocations: 2 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.9538, allocations: 86.88 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9538, allocations: 3.938 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001924/0.954, allocations: 9.719 kB / 1.093 GB, free: 1.957 MB / 0.8575 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.0001069/0.9541, allocations: 103.6 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.9542, allocations: 38.22 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9543, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.9543, allocations: 14.92 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.9545, allocations: 7.938 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.9548, allocations: 147.2 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.9549, allocations: 0.6803 MB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.9549, allocations: 10.83 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9549, allocations: 0 / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of Templates: time 0.002773/0.9577, allocations: 0.8348 MB / 1.095 GB, free: 0.9297 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches