Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009161/0.0009161, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009399/0.0009399, allocations: 161 kB / 23.82 MB, free: 0.7539 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 0.9067/0.9067, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.727/1.727, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.932e-05, allocations: 7.859 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00219/0.00222, allocations: 1.513 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004784/0.002698, allocations: 188.9 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.002757, allocations: 4 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.002802, allocations: 3.938 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.003058, allocations: 29 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003235, allocations: 51.86 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.00334, allocations: 59.84 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.003446, allocations: 8.609 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.003529, allocations: 35.91 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.099e-05/0.00361, allocations: 21.38 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.003637, allocations: 4 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.00365, allocations: 8 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.003676, allocations: 16.75 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.003748, allocations: 19.92 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.003851, allocations: 39.94 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.003854, allocations: 0.5625 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003855, allocations: 0.6875 kB / 0.7891 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.00386, allocations: 0 / 0.7891 GB, free: 10.47 MB / 0.7448 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.0004753/0.004335, allocations: 381.4 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.004376, allocations: 11.97 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.004426, allocations: 9.594 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.004525, allocations: 120.6 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.004539, allocations: 1.969 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.004553, allocations: 4.375 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.004715, allocations: 149.3 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004723, allocations: 192 / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.004737, allocations: 1.25 kB / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.004745, allocations: 384 / 0.7897 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.004785, allocations: 19.3 kB / 0.7897 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.005239, allocations: 279.7 kB / 0.79 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.005361, allocations: 47.05 kB / 0.79 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.005391, allocations: 15.77 kB / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.005401, allocations: 0 / 0.7901 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.005537, allocations: 76.94 kB / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.005538, allocations: 0 / 0.7901 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002231/0.005761, allocations: 74.34 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.005829, allocations: 102.8 kB / 0.7903 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.005937, allocations: 167.6 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.005957, allocations: 29.7 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.006025, allocations: 134.8 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.00605, allocations: 15.89 kB / 0.7906 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.006089, allocations: 31.36 kB / 0.7907 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.006227, allocations: 497.3 kB / 0.7911 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.006252, allocations: 8 kB / 0.7911 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.006353, allocations: 90.45 kB / 0.7912 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.006407, allocations: 40.66 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.00641, allocations: 0 / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.387e-05/0.006504, allocations: 71.14 kB / 0.7913 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.006519, allocations: 4 kB / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006524, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006536, allocations: 0 / 0.7913 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.308e-05/0.006619, allocations: 13.34 kB / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.006625, allocations: 0 / 0.7913 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.00668, allocations: 11.97 kB / 0.7914 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.006689, allocations: 4.562 kB / 0.7914 GB, free: 7.848 MB / 0.7448 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 8.063e-05/0.006769, allocations: 173 kB / 0.7915 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.006783, allocations: 7.938 kB / 0.7915 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.006805, allocations: 9.203 kB / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.006808, allocations: 0 / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.006811, allocations: 0 / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006814, allocations: 0.5312 kB / 0.7915 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.006896, allocations: 128.6 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006897, allocations: 1.562 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.006912, allocations: 4 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006914, allocations: 0 / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.006922, allocations: 3.938 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.006925, allocations: 5.531 kB / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006926, allocations: 0 / 0.7917 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.00703, allocations: 104.4 kB / 0.7918 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.007058, allocations: 12.45 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.007081, allocations: 12.47 kB / 0.7918 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.007125, allocations: 7.953 kB / 0.7918 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.00716, allocations: 3.984 kB / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.007165, allocations: 0 / 0.7918 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.116e-05/0.007206, allocations: 135.9 kB / 0.7919 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007206, allocations: 0 / 0.7919 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001291/0.007335, allocations: 12.48 kB / 0.792 GB, free: 7.18 MB / 0.7448 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 0.0001741/0.007509, allocations: 100.6 kB / 0.7921 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.007617, allocations: 35.67 kB / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007619, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.007651, allocations: 28.42 kB / 0.7921 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.007775, allocations: 6.812 kB / 0.7921 GB, free: 7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.008235, allocations: 144 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.00827, allocations: 56.7 kB / 0.7923 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.008305, allocations: 7.984 kB / 0.7923 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.008336, allocations: 12.5 kB / 0.7923 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.008337, allocations: 0.9688 kB / 0.7923 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.002858/0.01119, allocations: 1.058 MB / 0.7934 GB, free: 5.727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.912127868738025]