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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.069/2.069, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.219e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001948/0.00198, allocations: 1.509 MB / 0.8797 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003569/0.002337, allocations: 189 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.00238, allocations: 0.5312 kB / 0.8799 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/0.002411, allocations: 7.625 kB / 0.8799 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.002635, allocations: 36.31 kB / 0.8799 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.002773, allocations: 55.84 kB / 0.8799 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.002862, allocations: 55.84 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.002956, allocations: 7.984 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.362e-05/0.003029, allocations: 43.84 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.003098, allocations: 15.98 kB / 0.8801 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.003121, allocations: 4 kB / 0.8801 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.003132, allocations: 5.781 kB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.003157, allocations: 19.91 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.003198, allocations: 15.98 kB / 0.8801 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.003292, allocations: 43.88 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003294, allocations: 0 / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003295, allocations: 0.9375 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003299, allocations: 0 / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004192/0.003718, allocations: 381.6 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.003753, allocations: 8.031 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.0038, allocations: 12.88 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.002e-05/0.00389, allocations: 113.8 kB / 0.8806 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.003906, allocations: 8.312 kB / 0.8806 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.003918, allocations: 4.375 kB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004064, allocations: 146.4 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004071, allocations: 192 / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.004083, allocations: 1.344 kB / 0.8808 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.00409, allocations: 4.375 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.004125, allocations: 15.92 kB / 0.8808 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.00447, allocations: 284.4 kB / 0.8811 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.273e-05/0.004553, allocations: 40.72 kB / 0.8811 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.67e-05/0.004579, allocations: 19.77 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-06/0.004586, allocations: 0 / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.784e-05/0.004683, allocations: 73.48 kB / 0.8812 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.004684, allocations: 3.938 kB / 0.8812 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001593/0.004844, allocations: 67.56 kB / 0.8813 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.004895, allocations: 106.8 kB / 0.8814 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.004971, allocations: 169.9 kB / 0.8815 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.004986, allocations: 29.7 kB / 0.8816 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.005031, allocations: 134.8 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.005051, allocations: 17.06 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.005083, allocations: 31.36 kB / 0.8817 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.005187, allocations: 496.1 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.005208, allocations: 17.58 kB / 0.8822 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.005256, allocations: 86.41 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.279e-05/0.005299, allocations: 31.67 kB / 0.8824 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0053, allocations: 0 / 0.8824 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.108e-05/0.005372, allocations: 72.16 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005384, allocations: 8 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.005387, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005399, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.906e-05/0.005458, allocations: 8 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.005464, allocations: 7.922 kB / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.005512, allocations: 8.031 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.005519, allocations: 4 kB / 0.8825 GB, free: 2.039 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (7): * Single equations (assignments): 7 * 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.583e-05/0.005584, allocations: 156.6 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.005594, allocations: 11.89 kB / 0.8826 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.005614, allocations: 11.8 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005615, allocations: 4.031 kB / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.005618, allocations: 0 / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005621, allocations: 0 / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.567e-05/0.005697, allocations: 124.6 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005698, allocations: 0 / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-06/0.005707, allocations: 4 kB / 0.8828 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005708, allocations: 0 / 0.8828 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.005715, allocations: 4.438 kB / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-07/0.005716, allocations: 0 / 0.8828 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.005718, allocations: 3.984 kB / 0.8828 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.005809, allocations: 112.3 kB / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.005834, allocations: 19.92 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.005852, allocations: 3.938 kB / 0.8829 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.005887, allocations: 4 kB / 0.8829 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.005918, allocations: 7.984 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005921, allocations: 0 / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.00596, allocations: 131.2 kB / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005961, allocations: 0 / 0.883 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001207/0.006081, allocations: 12 kB / 0.883 GB, free: 1.367 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.816e-05/0.006149, allocations: 95.25 kB / 0.8831 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.028e-05/0.00624, allocations: 47.55 kB / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.006241, allocations: 0 / 0.8832 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.006272, allocations: 27.67 kB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.006378, allocations: 6.953 kB / 0.8832 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.006777, allocations: 138.3 kB / 0.8833 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.006806, allocations: 55.36 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.006836, allocations: 7.984 kB / 0.8834 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.006861, allocations: 12.5 kB / 0.8834 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of SimCode: time 5.71e-07/0.006861, allocations: 0 / 0.8834 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of Templates: time 0.002364/0.009225, allocations: 0.9901 MB / 0.8844 GB, free: 15.96 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412765136919916]