Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 83.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.088/3.088, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.585e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.004062/0.004098, allocations: 1.492 MB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.004712, allocations: 179.3 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.004758, allocations: 0.6562 kB / 0.8124 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.004795, allocations: 9.188 kB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.005065, allocations: 23.8 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.005313, allocations: 66.25 kB / 0.8125 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.005463, allocations: 59.84 kB / 0.8126 GB, free: 280 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005568, allocations: 7.938 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.005697, allocations: 39.89 kB / 0.8126 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005799, allocations: 15.98 kB / 0.8127 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.005832, allocations: 4 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.005861, allocations: 9.469 kB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.005898, allocations: 11.92 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.005972, allocations: 23.97 kB / 0.8127 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.006144, allocations: 55.91 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.006147, allocations: 1.5 kB / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/0.006148, allocations: 0 / 0.8128 GB, free: 112 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.006154, allocations: 3.938 kB / 0.8128 GB, free: 108 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007685/0.006922, allocations: 380.2 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.006969, allocations: 8.562 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.00703, allocations: 9.906 kB / 0.8131 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.007194, allocations: 116.5 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.007221, allocations: 8.375 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.007241, allocations: 5.031 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.007513, allocations: 136.7 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.007523, allocations: 0.7188 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.00754, allocations: 9.75 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.007545, allocations: 384 / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.007632, allocations: 23.88 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.008254, allocations: 276.9 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.008427, allocations: 55.05 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.008498, allocations: 20.62 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.008511, allocations: 0 / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.008713, allocations: 85.92 kB / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.008714, allocations: 0 / 0.8138 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.009022, allocations: 81.64 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.009133, allocations: 107.8 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.009311, allocations: 166.2 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.009351, allocations: 37.62 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.009472, allocations: 131.8 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.009504, allocations: 15.84 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.009585, allocations: 32.89 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003405/0.009925, allocations: 0.4884 MB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.009983, allocations: 16.23 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.01013, allocations: 98.45 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.01024, allocations: 45.05 kB / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01024, allocations: 0 / 0.815 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002063/0.01045, allocations: 77.58 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01047, allocations: 11.06 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01047, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01049, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.01059, allocations: 11.98 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.0106, allocations: 3.938 kB / 0.8151 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.01072, allocations: 8 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.01073, allocations: 4 kB / 0.8151 GB, free: 13.41 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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 0.0001707/0.0109, allocations: 165.1 kB / 0.8153 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.01093, allocations: 7.938 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.01095, allocations: 5.75 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01096, allocations: 0 / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01096, allocations: 0 / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01096, allocations: 0 / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.01115, allocations: 136.6 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01115, allocations: 1.594 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.01118, allocations: 4 kB / 0.8154 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01118, allocations: 0 / 0.8154 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.01121, allocations: 7.922 kB / 0.8154 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01121, allocations: 1 kB / 0.8154 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01121, allocations: 3.938 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.01144, allocations: 104.4 kB / 0.8156 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.01149, allocations: 12.5 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01152, allocations: 7.938 kB / 0.8156 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01163, allocations: 8.828 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.01167, allocations: 0 / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.01168, allocations: 4.844 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001129/0.01179, allocations: 135.2 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.61e-07/0.01179, allocations: 1.281 kB / 0.8157 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003237/0.01212, allocations: 19.95 kB / 0.8157 GB, free: 12.74 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000152/0.01227, allocations: 98.75 kB / 0.8158 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.01245, allocations: 47.61 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.01245, allocations: 6.5 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.01252, allocations: 23.67 kB / 0.8159 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.01274, allocations: 9.5 kB / 0.8159 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.01314, allocations: 142.2 kB / 0.816 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.77e-05/0.01323, allocations: 71.14 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.01327, allocations: 6.938 kB / 0.8161 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.01331, allocations: 12.5 kB / 0.8161 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01331, allocations: 3.938 kB / 0.8161 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.005059/0.01837, allocations: 0.9776 MB / 0.8171 GB, free: 11.33 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.140780861955136]