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.001574/0.001574, allocations: 102.2 kB / 16.27 MB, free: 6 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.001694/0.001694, allocations: 191 kB / 17.2 MB, free: 5.609 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.492/2.492, allocations: 437 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.47 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3301, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003342/0.3334, allocations: 1.452 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.3341, allocations: 185.4 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.3342, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.3343, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.3346, allocations: 31.84 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3348, allocations: 55.98 kB / 1.02 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3349, allocations: 59.69 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.335, allocations: 8 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.3351, allocations: 23.98 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.3352, allocations: 19.91 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3352, allocations: 8 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3353, allocations: 4 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.3353, allocations: 15.92 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.3354, allocations: 19.92 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3355, allocations: 56.08 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3355, allocations: 3.938 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.703 MB / 0.795 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.0005919/0.3361, allocations: 353.4 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3362, allocations: 8.031 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.3362, allocations: 4.938 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.3364, allocations: 180.2 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3364, allocations: 384 / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3365, allocations: 384 / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3367, allocations: 72.81 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3367, allocations: 4.188 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3367, allocations: 7.938 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3367, allocations: 0 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.3368, allocations: 19.98 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.3373, allocations: 276.8 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3374, allocations: 42.55 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.578e-05/0.3375, allocations: 20.86 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.3375, allocations: 0 / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.3377, allocations: 71.41 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3377, allocations: 0 / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002278/0.3379, allocations: 69.67 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.338, allocations: 106.8 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.3381, allocations: 105.8 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3381, allocations: 29.7 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.3382, allocations: 92.05 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3382, allocations: 11.83 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3383, allocations: 21.72 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3384, allocations: 322.8 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.985e-05/0.3385, allocations: 8 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.3385, allocations: 38.5 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.3386, allocations: 28.89 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3386, allocations: 0 / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.3387, allocations: 53.69 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3387, allocations: 8 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3388, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3388, allocations: 0 / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.3389, allocations: 4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3389, allocations: 0 / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.339, allocations: 19.89 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.339, allocations: 7.938 kB / 1.022 GB, free: 6.496 MB / 0.795 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 0.0001083/0.3391, allocations: 124.2 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3392, allocations: 7.938 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3392, allocations: 3.5 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3392, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3392, allocations: 448 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3392, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3394, allocations: 173.6 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3394, allocations: 4 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.3394, allocations: 4 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3394, allocations: 4 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3394, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3394, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3394, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3396, allocations: 92.98 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.3397, allocations: 89 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3397, allocations: 7.938 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3398, allocations: 15.98 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.3399, allocations: 0 / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3399, allocations: 0 / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.115e-05/0.3399, allocations: 91.27 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3399, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001971/0.3401, allocations: 8 kB / 1.022 GB, free: 5.781 MB / 0.795 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.000132/0.3403, allocations: 99.48 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.3404, allocations: 39.97 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3404, allocations: 4 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.3405, allocations: 15.94 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.3407, allocations: 9.25 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.3411, allocations: 143.3 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.3413, allocations: 0.6807 MB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.268e-05/0.3414, allocations: 11.44 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.3414, allocations: 4 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of Templates: time 0.002273/0.3437, allocations: 0.8247 MB / 1.024 GB, free: 3.898 MB / 0.795 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/jenkins1/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