Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001555/0.001555, allocations: 197 kB / 16.14 MB, free: 6.711 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.14 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7279, allocations: 140.4 MB / 0.9489 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002633/0.7306, allocations: 1.519 MB / 0.9504 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004038/0.731, allocations: 188.9 kB / 0.9506 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.7311, allocations: 1 kB / 0.9506 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.7311, allocations: 7.922 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.7314, allocations: 17.14 kB / 0.9506 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.7316, allocations: 46.19 kB / 0.9507 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.7316, allocations: 59.69 kB / 0.9507 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.7318, allocations: 7.734 kB / 0.9507 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.7318, allocations: 24.3 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.7319, allocations: 18.48 kB / 0.9508 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.732, allocations: 5.422 kB / 0.9508 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.809e-05/0.732, allocations: 6.625 kB / 0.9508 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.732, allocations: 10.42 kB / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.7321, allocations: 19.06 kB / 0.9508 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.7322, allocations: 46.75 kB / 0.9508 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.7322, allocations: 3.984 kB / 0.9508 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7322, allocations: 0 / 0.9508 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7322, allocations: 2.25 kB / 0.9508 GB, free: 7.98 MB / 0.7169 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.0005061/0.7327, allocations: 347.8 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7328, allocations: 8.469 kB / 0.9512 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.7328, allocations: 7.812 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.733, allocations: 171.4 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.733, allocations: 1.594 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.733, allocations: 3.094 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.7331, allocations: 74.28 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.7332, allocations: 4.188 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.7332, allocations: 9.312 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.7332, allocations: 1.406 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.7333, allocations: 16.33 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.7336, allocations: 273.5 kB / 0.9517 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.7337, allocations: 42.81 kB / 0.9518 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.354e-05/0.7337, allocations: 19.7 kB / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.7337, allocations: 0 / 0.9518 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.7339, allocations: 63.3 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7339, allocations: 0 / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002092/0.7341, allocations: 78.69 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.7342, allocations: 104.4 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.648e-05/0.7342, allocations: 109.4 kB / 0.9521 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.7343, allocations: 31.36 kB / 0.9522 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.7343, allocations: 85.3 kB / 0.9522 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.7343, allocations: 9.188 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.7344, allocations: 24.14 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.7344, allocations: 320 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/0.7345, allocations: 12.86 kB / 0.9526 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.413e-05/0.7345, allocations: 36.73 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.7346, allocations: 32.91 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7346, allocations: 0 / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.126e-05/0.7347, allocations: 60.66 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7347, allocations: 4.125 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7347, allocations: 1.375 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7347, allocations: 0 / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.7348, allocations: 9.5 kB / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7348, allocations: 0 / 0.9527 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.7349, allocations: 9.484 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.7349, allocations: 5.406 kB / 0.9527 GB, free: 5.996 MB / 0.7169 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 6.669e-05/0.735, allocations: 117.9 kB / 0.9528 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.735, allocations: 6.656 kB / 0.9529 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.049e-05/0.735, allocations: 7.484 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.735, allocations: 1.375 kB / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.735, allocations: 0 / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.735, allocations: 0 / 0.9529 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.733e-05/0.7351, allocations: 173.8 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7351, allocations: 1.375 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.7352, allocations: 10.73 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.7352, allocations: 3.938 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.7352, allocations: 1.375 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7352, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7352, allocations: 1.375 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.7353, allocations: 90.67 kB / 0.9531 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.7354, allocations: 87.23 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.7354, allocations: 4.984 kB / 0.9532 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.7355, allocations: 9.594 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.7356, allocations: 6.172 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.7356, allocations: 1.062 kB / 0.9532 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.7356, allocations: 92.59 kB / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7356, allocations: 0 / 0.9533 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002041/0.7358, allocations: 15.03 kB / 0.9533 GB, free: 5.348 MB / 0.7169 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.0001043/0.7359, allocations: 106.5 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001158/0.7361, allocations: 37.73 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7361, allocations: 0 / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.7361, allocations: 13.66 kB / 0.9535 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.7363, allocations: 6.969 kB / 0.9535 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.7366, allocations: 125.3 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.7367, allocations: 0.68 MB / 0.9543 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.7367, allocations: 8.734 kB / 0.9543 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.7368, allocations: 18.28 kB / 0.9543 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7368, allocations: 0 / 0.9543 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.002964/0.7397, allocations: 0.835 MB / 0.9551 GB, free: 3.945 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches