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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008465/0.0008468, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001076/0.001076, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7216/0.7219, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001992/0.724, allocations: 1.172 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004603/0.7245, allocations: 167.6 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.7246, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.7246, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.7249, allocations: 27.84 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.7251, allocations: 51.81 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.7252, allocations: 47.84 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.708e-05/0.7253, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.7254, allocations: 27.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.75e-05/0.7255, allocations: 19.92 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.7255, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.7256, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.7256, allocations: 7.984 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.7256, allocations: 37.7 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.519e-05/0.7257, allocations: 29.89 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.7257, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7258, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.7258, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 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.0005918/0.7264, allocations: 343.2 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.7264, allocations: 8.562 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.7265, allocations: 7.906 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.7267, allocations: 175 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7267, allocations: 7.984 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.7267, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.7269, allocations: 76.2 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.7269, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.7269, allocations: 4 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.727, allocations: 3.938 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.617e-05/0.727, allocations: 16 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.7275, allocations: 280.8 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.617e-05/0.7276, allocations: 38.56 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.7276, allocations: 12.86 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.7277, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.7279, allocations: 71.36 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.7279, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000235/0.7281, allocations: 77.58 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.7282, allocations: 102.8 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7283, allocations: 105.8 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7284, allocations: 25.7 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.7284, allocations: 84.14 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.7285, allocations: 11.81 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.7285, allocations: 8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7286, allocations: 318.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.7287, allocations: 12 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.354e-05/0.7287, allocations: 34.5 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.99e-05/0.7288, allocations: 12 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7288, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000108/0.7289, allocations: 58.06 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7289, allocations: 4 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.7289, allocations: 8.094 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.729, allocations: 4 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.729, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.729, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.7292, allocations: 15.92 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.7292, allocations: 0 / 1.026 GB, free: 12.3 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.751e-05/0.7293, allocations: 121.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.7293, allocations: 8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.7293, allocations: 7.484 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7293, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7294, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.7294, allocations: 4 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7295, allocations: 181.4 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.7295, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.7296, allocations: 3.984 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7296, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.7296, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7296, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7296, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.7297, allocations: 89.23 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.7298, allocations: 96.98 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.7298, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.7299, allocations: 13.61 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.73, allocations: 7.984 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.73, allocations: 4 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001302/0.7301, allocations: 87.28 kB / 1.026 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7301, allocations: 3.938 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002021/0.7303, allocations: 12 kB / 1.026 GB, free: 11.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.7305, allocations: 107.2 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.7306, allocations: 27.98 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7306, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.7307, allocations: 19.94 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.7308, allocations: 4.938 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.7311, allocations: 132.6 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.7314, allocations: 0.6848 MB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.7314, allocations: 4 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.7315, allocations: 7.438 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of SimCode: time 1.884e-06/0.7315, allocations: 4 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.003389/0.7349, allocations: 0.7956 MB / 1.028 GB, free: 9.73 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