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.00563/0.00563, allocations: 102 kB / 15.73 MB, free: 6.066 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.001199/0.001199, allocations: 196.7 kB / 16.68 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.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.679/2.679, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3242, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002813/0.327, allocations: 1.455 MB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.3275, allocations: 191.4 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.3276, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.3276, allocations: 0 / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.3279, allocations: 31.59 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3281, allocations: 55.86 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3282, allocations: 59.83 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.3283, allocations: 4 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.3284, allocations: 23.92 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3284, allocations: 23.92 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.3285, allocations: 4 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.663e-05/0.3285, allocations: 7.938 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.3285, allocations: 11.97 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.3286, allocations: 23.92 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.3287, allocations: 51.8 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3287, allocations: 7.938 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3287, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3287, allocations: 0 / 1.169 GB, free: 4.84 MB / 0.92 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.0005774/0.3293, allocations: 351.3 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3294, allocations: 8.031 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.3294, allocations: 8.938 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3296, allocations: 172.3 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.3296, allocations: 4.375 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.3296, allocations: 4.375 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3298, allocations: 72.81 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3298, allocations: 192 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3298, allocations: 3.938 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3298, allocations: 4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.596e-05/0.3299, allocations: 19.92 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3302, allocations: 280.8 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.3303, allocations: 30.58 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.3304, allocations: 24.92 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.3304, allocations: 0 / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.3306, allocations: 67.33 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.3306, allocations: 4 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002072/0.3308, allocations: 65.69 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3309, allocations: 106.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.3309, allocations: 101.9 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.331, allocations: 29.7 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3311, allocations: 92.08 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3311, allocations: 7.953 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.3311, allocations: 21.7 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3313, allocations: 322.8 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.3313, allocations: 12 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.3314, allocations: 34.88 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.3314, allocations: 28.86 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3314, allocations: 0 / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.3315, allocations: 65.64 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3316, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3316, allocations: 3.938 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3316, allocations: 4.031 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.646e-05/0.3317, allocations: 15.86 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3317, allocations: 4 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3318, allocations: 7.984 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.3318, allocations: 0 / 1.17 GB, free: 2.637 MB / 0.92 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.559e-05/0.3319, allocations: 117.8 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3319, allocations: 4 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.141e-05/0.332, allocations: 3.5 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.332, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.332, allocations: 4 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.332, allocations: 0 / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3321, allocations: 181.5 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3321, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.3322, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3322, allocations: 0 / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.3322, allocations: 4 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3322, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3322, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.3323, allocations: 100.9 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.3324, allocations: 89.09 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.3324, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3325, allocations: 14.23 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3326, allocations: 64 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.3326, allocations: 11.98 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.3327, allocations: 83.28 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3327, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002086/0.3329, allocations: 12 kB / 1.171 GB, free: 1.922 MB / 0.92 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.0001488/0.333, allocations: 103.2 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.3332, allocations: 32.22 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3332, allocations: 0 / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.101e-05/0.3333, allocations: 23.91 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.3334, allocations: 7.938 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.3338, allocations: 121.4 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3342, allocations: 0.6807 MB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.3342, allocations: 11.98 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.3342, allocations: 11.38 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3343, allocations: 0 / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of Templates: time 0.003385/0.3376, allocations: 0.8851 MB / 1.173 GB, free: 15.99 MB / 0.9356 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