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.001378/0.001378, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.00165/0.00165, allocations: 169 kB / 23.02 MB, free: 1.551 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.019/1.019, allocations: 177.1 MB / 203.4 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.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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 2.014e-06/2.014e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.845e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002126/0.002154, allocations: 1.517 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.002499, allocations: 193.2 kB / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.002535, allocations: 0 / 0.8798 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.002565, allocations: 5 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.002776, allocations: 25.83 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.002918, allocations: 55.86 kB / 0.8799 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.003002, allocations: 63.78 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.003092, allocations: 9.078 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.003161, allocations: 39.91 kB / 0.88 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.003225, allocations: 13.03 kB / 0.88 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.003246, allocations: 11.94 kB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.003257, allocations: 4 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.003278, allocations: 20.62 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.003312, allocations: 8 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.003407, allocations: 48.47 kB / 0.8801 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.003408, allocations: 0 / 0.8801 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003409, allocations: 1.375 kB / 0.8801 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003413, allocations: 0 / 0.8801 GB, free: 4.281 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.0004399/0.003853, allocations: 384.5 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.003893, allocations: 8.781 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.00394, allocations: 8.891 kB / 0.8805 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004043, allocations: 117.2 kB / 0.8806 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.004061, allocations: 5.469 kB / 0.8806 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.004076, allocations: 4.312 kB / 0.8806 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.004228, allocations: 145.4 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.004238, allocations: 0.8438 kB / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004249, allocations: 384 / 0.8808 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.004259, allocations: 4.906 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.004297, allocations: 21.09 kB / 0.8808 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.004676, allocations: 275.7 kB / 0.8811 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.004771, allocations: 50.5 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.004797, allocations: 19.69 kB / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.004804, allocations: 0 / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.474e-05/0.004899, allocations: 69.08 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.0049, allocations: 0 / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001627/0.005062, allocations: 77.61 kB / 0.8813 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.005113, allocations: 106.8 kB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.005184, allocations: 165.9 kB / 0.8815 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.0052, allocations: 29.7 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.005242, allocations: 139.7 kB / 0.8817 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.005263, allocations: 19.89 kB / 0.8817 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.005297, allocations: 27.97 kB / 0.8817 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005403, allocations: 496.1 kB / 0.8822 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.005424, allocations: 9.344 kB / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.005474, allocations: 94.39 kB / 0.8823 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.005519, allocations: 27.69 kB / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00552, allocations: 1.312 kB / 0.8823 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.776e-05/0.005598, allocations: 65.69 kB / 0.8824 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005609, allocations: 7.984 kB / 0.8824 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.005614, allocations: 4 kB / 0.8824 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.005629, allocations: 4.031 kB / 0.8824 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.239e-05/0.005692, allocations: 8 kB / 0.8824 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.005696, allocations: 0 / 0.8824 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.005746, allocations: 15.92 kB / 0.8824 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.005752, allocations: 0 / 0.8824 GB, free: 1.652 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.736e-05/0.005819, allocations: 160.6 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.005831, allocations: 11.89 kB / 0.8826 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.005854, allocations: 3.812 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.005856, allocations: 4 kB / 0.8826 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005859, allocations: 4 kB / 0.8826 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005862, allocations: 0 / 0.8826 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.304e-05/0.005935, allocations: 124.6 kB / 0.8827 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005936, allocations: 0 / 0.8827 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.005947, allocations: 4 kB / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.005948, allocations: 0 / 0.8827 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.005956, allocations: 7.938 kB / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005957, allocations: 0 / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005958, allocations: 0 / 0.8828 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.00605, allocations: 108.8 kB / 0.8829 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.006076, allocations: 7.938 kB / 0.8829 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.006094, allocations: 16 kB / 0.8829 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.006131, allocations: 7.984 kB / 0.8829 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.006172, allocations: 7.984 kB / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.006175, allocations: 0 / 0.8829 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.006211, allocations: 123.2 kB / 0.883 GB, free: 1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.006212, allocations: 3.938 kB / 0.883 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001286/0.00634, allocations: 16 kB / 0.883 GB, free: 0.9805 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 7.244e-05/0.006413, allocations: 99.23 kB / 0.8831 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.925e-05/0.006512, allocations: 39.61 kB / 0.8832 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006513, allocations: 4 kB / 0.8832 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.668e-05/0.00654, allocations: 19.69 kB / 0.8832 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.006647, allocations: 7.984 kB / 0.8832 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.00707, allocations: 142.3 kB / 0.8833 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.007106, allocations: 56.05 kB / 0.8834 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.007135, allocations: 4 kB / 0.8834 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.007166, allocations: 16.48 kB / 0.8834 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.007167, allocations: 0 / 0.8834 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of Templates: time 0.002459/0.009626, allocations: 0.9953 MB / 0.8844 GB, free: 15.57 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.535841193050146]