Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001886/0.001886, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002422/0.002422, allocations: 163.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.772/2.772, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.446e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003367/0.003402, allocations: 1.474 MB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005354/0.003937, allocations: 175.3 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.003993, allocations: 4 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.004033, allocations: 7.922 kB / 0.9831 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.004313, allocations: 19.81 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.004547, allocations: 70.39 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.004676, allocations: 59.83 kB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.004801, allocations: 11.88 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004914, allocations: 35.97 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005015, allocations: 15.97 kB / 0.9833 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.005048, allocations: 8 kB / 0.9833 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.046e-05/0.005069, allocations: 8 kB / 0.9833 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.005102, allocations: 15.92 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.005162, allocations: 15.97 kB / 0.9833 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.005331, allocations: 59.84 kB / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.005336, allocations: 0 / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.113e-06/0.005337, allocations: 0 / 0.9834 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.005343, allocations: 0 / 0.9834 GB, free: 9.984 MB / 0.9356 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.0007085/0.006051, allocations: 286.2 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.0061, allocations: 8.031 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.006159, allocations: 8.938 kB / 0.9836 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.006329, allocations: 121.7 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.00635, allocations: 4.375 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.006371, allocations: 4.375 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.006636, allocations: 132.2 kB / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.006646, allocations: 192 / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.006664, allocations: 384 / 0.9839 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.006673, allocations: 4.375 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.006747, allocations: 19.92 kB / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.007333, allocations: 224.5 kB / 0.9841 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.007481, allocations: 46.56 kB / 0.9842 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.495e-05/0.007526, allocations: 16.86 kB / 0.9842 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.007538, allocations: 0 / 0.9842 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.007752, allocations: 63.42 kB / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.007753, allocations: 0 / 0.9843 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0002591/0.008012, allocations: 89.56 kB / 0.9843 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.077e-05/0.008103, allocations: 102.8 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.0082, allocations: 109.8 kB / 0.9845 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.008225, allocations: 25.7 kB / 0.9846 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.008293, allocations: 84.14 kB / 0.9847 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.008318, allocations: 23.78 kB / 0.9847 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.008369, allocations: 25.7 kB / 0.9847 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.008531, allocations: 322.8 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.008567, allocations: 12 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/0.008665, allocations: 89.97 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.008734, allocations: 36.73 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008736, allocations: 0 / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001286/0.008864, allocations: 73.69 kB / 0.9852 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.00888, allocations: 4 kB / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008885, allocations: 0 / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.0089, allocations: 0 / 0.9852 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.00898, allocations: 16.02 kB / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008985, allocations: 0 / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.0091, allocations: 16.44 kB / 0.9852 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.009113, allocations: 4 kB / 0.9852 GB, free: 7.816 MB / 0.9356 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 0.0001162/0.009229, allocations: 117.8 kB / 0.9854 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.009245, allocations: 3.938 kB / 0.9854 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.009269, allocations: 7.812 kB / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.00927, allocations: 0 / 0.9854 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.009277, allocations: 4 kB / 0.9854 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.00928, allocations: 4 kB / 0.9854 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.009416, allocations: 113.3 kB / 0.9855 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.009419, allocations: 3.984 kB / 0.9855 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.009441, allocations: 4 kB / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.009442, allocations: 0 / 0.9855 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.009455, allocations: 3.938 kB / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009456, allocations: 0 / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009457, allocations: 0 / 0.9855 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.009607, allocations: 93.08 kB / 0.9856 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.009641, allocations: 11.97 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.009667, allocations: 7.938 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.009775, allocations: 15.98 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.009813, allocations: 7.922 kB / 0.9856 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.009819, allocations: 4 kB / 0.9856 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.009877, allocations: 83.28 kB / 0.9857 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.009877, allocations: 0 / 0.9857 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000198/0.01008, allocations: 15.94 kB / 0.9857 GB, free: 7.27 MB / 0.9356 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.0001337/0.01021, allocations: 103.2 kB / 0.9858 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.01035, allocations: 31.98 kB / 0.9859 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.01036, allocations: 4 kB / 0.9859 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.663e-05/0.0104, allocations: 19.94 kB / 0.9859 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.01056, allocations: 4 kB / 0.9859 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.01095, allocations: 140.7 kB / 0.986 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.01101, allocations: 63.34 kB / 0.9861 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.01105, allocations: 4 kB / 0.9861 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01109, allocations: 12.5 kB / 0.9861 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of SimCode: time 6.62e-07/0.01109, allocations: 0 / 0.9861 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of Templates: time 0.004118/0.01521, allocations: 0.9863 MB / 0.9871 GB, free: 5.871 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.888795766979456]