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.001508/0.001508, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002383/0.002383, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.714/2.714, allocations: 437 MB / 0.7103 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 59.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8371/0.8394, allocations: 151.6 MB / 1.017 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003114/0.8426, allocations: 1.456 MB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005239/0.8432, allocations: 183.4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.8433, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.8433, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.8436, allocations: 35.84 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.8439, allocations: 45.17 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.844, allocations: 63.78 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.8441, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.8442, allocations: 27.97 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.136e-05/0.8443, allocations: 19.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.8443, allocations: 4 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.793e-05/0.8443, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.8444, allocations: 15.94 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.8444, allocations: 31.84 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.8445, allocations: 45.84 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8446, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8446, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.8446, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 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.0005263/0.8451, allocations: 351.4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.8451, allocations: 12.03 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.8452, allocations: 4.844 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.8453, allocations: 168.4 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.8454, allocations: 4.375 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.8454, allocations: 4.375 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.8455, allocations: 72.81 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8456, allocations: 4.125 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.8456, allocations: 3.938 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.8456, allocations: 3.984 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.647e-05/0.8457, allocations: 15.98 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.8461, allocations: 288.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.8462, allocations: 42.52 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.8462, allocations: 16.94 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.8462, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.8464, allocations: 63.39 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8464, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002098/0.8466, allocations: 77.67 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.8466, allocations: 106.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.8467, allocations: 105.8 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.8468, allocations: 25.7 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.8468, allocations: 95.97 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.8468, allocations: 7.906 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.8469, allocations: 25.7 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.847, allocations: 318.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.847, allocations: 8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-05/0.8471, allocations: 38.56 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.8471, allocations: 20.86 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8471, allocations: 384 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.672e-05/0.8472, allocations: 65.62 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.8473, allocations: 8.031 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8473, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.8473, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.8474, allocations: 7.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8474, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.8475, allocations: 7.984 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.8475, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 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.97e-05/0.8476, allocations: 117.8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.8476, allocations: 3.906 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.8476, allocations: 15.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.8477, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.8477, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.8477, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.8478, allocations: 173.6 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8478, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/0.8478, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8478, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.8478, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.8478, allocations: 3.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8479, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.848, allocations: 93 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.8481, allocations: 92.94 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.8481, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.8482, allocations: 8.219 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8482, allocations: 11.98 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8483, allocations: 3.984 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.8483, allocations: 87.22 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8483, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000193/0.8485, allocations: 16 kB / 1.022 GB, free: 13.71 MB / 0.7794 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.0001182/0.8486, allocations: 100.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.8488, allocations: 32.17 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.8488, allocations: 7.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-05/0.8488, allocations: 15.98 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.849, allocations: 11.94 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.8493, allocations: 117.6 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.8496, allocations: 0.6807 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.8496, allocations: 7.984 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.8496, allocations: 7.438 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 1.623e-06/0.8496, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.00342/0.8531, allocations: 0.8777 MB / 1.023 GB, free: 11.8 MB / 0.7794 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