Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001167/0.001167, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001258/0.001258, allocations: 177.3 kB / 15.94 MB, free: 228 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.498/1.498, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8155, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001955/0.8175, allocations: 1.157 MB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004702/0.818, allocations: 167.5 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.8181, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.8181, allocations: 3.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.8184, allocations: 19.92 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.8187, allocations: 47.86 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.244e-05/0.8188, allocations: 31.95 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8189, allocations: 4 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.819, allocations: 23.92 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.8191, allocations: 27.89 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.8191, allocations: 0 / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.289e-05/0.8192, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.8192, allocations: 4 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.8193, allocations: 29.7 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.8194, allocations: 41.89 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.8194, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8194, allocations: 0 / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8194, allocations: 0 / 1.022 GB, free: 15.56 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.0007418/0.8201, allocations: 343.2 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.8202, allocations: 11.97 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.505e-05/0.8203, allocations: 3.906 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.8205, allocations: 171 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.8206, allocations: 8 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.8206, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.8208, allocations: 76.2 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8208, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.8208, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.8208, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.8209, allocations: 15.98 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.8215, allocations: 280.8 kB / 1.023 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.8217, allocations: 38.56 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.8217, allocations: 4 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.8219, allocations: 63.41 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.8219, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002674/0.8222, allocations: 81.58 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.8223, allocations: 106.8 kB / 1.023 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.8225, allocations: 101.9 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.8225, allocations: 25.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.8226, allocations: 88.06 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.8226, allocations: 11.91 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.8226, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.8228, allocations: 310.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.815e-05/0.8229, allocations: 23.98 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.8229, allocations: 34.52 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.823, allocations: 15.94 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.823, allocations: 4 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001396/0.8231, allocations: 54.05 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.8232, allocations: 4 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.8232, allocations: 0 / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.8232, allocations: 7.984 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.8233, allocations: 8.031 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.8233, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.8234, allocations: 11.98 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.8234, allocations: 4 kB / 1.024 GB, free: 13.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 ($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 0.0001287/0.8236, allocations: 117.7 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.8236, allocations: 4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.8237, allocations: 7.5 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8237, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8237, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8237, allocations: 3.984 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.8239, allocations: 173.6 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8239, allocations: 3.953 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.8239, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.861e-05/0.8239, allocations: 4 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.824, allocations: 3.984 kB / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.824, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.824, allocations: 0 / 1.024 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.8242, allocations: 89.03 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.8242, allocations: 92.98 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.8243, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.8244, allocations: 21.55 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.8245, allocations: 7.984 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.8245, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.8246, allocations: 87.22 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8246, allocations: 8 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002103/0.8248, allocations: 8 kB / 1.025 GB, free: 12.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 (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.0001821/0.825, allocations: 103.2 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.8251, allocations: 24 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8251, allocations: 0 / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.8252, allocations: 19.92 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.8253, allocations: 8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.8257, allocations: 124.7 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.826, allocations: 0.6887 MB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.826, allocations: 4.328 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.8261, allocations: 7.438 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8261, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.003398/0.8295, allocations: 0.7991 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches