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.002055/0.002055, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002297/0.002297, allocations: 157.8 kB / 23.01 MB, free: 4.605 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.89 kB / 0.9819 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9096/0.9117, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002272/0.914, allocations: 1.474 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003815/0.9144, allocations: 177.8 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.9144, allocations: 4 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.9145, allocations: 3.469 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.9147, allocations: 28.42 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.9148, allocations: 54.48 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.469e-05/0.9149, allocations: 54.75 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.915, allocations: 14.41 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.9151, allocations: 18.64 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/0.9151, allocations: 22.94 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.9152, allocations: 9.031 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.9152, allocations: 5.094 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.9152, allocations: 11.22 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.9153, allocations: 19.25 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.9154, allocations: 50.06 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9154, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9154, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9154, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 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.0005119/0.9159, allocations: 280 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.916, allocations: 11.34 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.916, allocations: 4.891 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.536e-05/0.9161, allocations: 116.4 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.9161, allocations: 384 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.9161, allocations: 3 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.9163, allocations: 132.2 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9163, allocations: 4.172 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.9163, allocations: 6.75 kB / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.9163, allocations: 0 / 1.156 GB, free: 31.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.9164, allocations: 19.97 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.9166, allocations: 214.6 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.9167, allocations: 45.22 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.9168, allocations: 14.67 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.9168, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.917, allocations: 64.89 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.917, allocations: 0 / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.9172, allocations: 70.86 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.9172, allocations: 109.3 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.063e-05/0.9173, allocations: 105.3 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.9173, allocations: 25.7 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.9173, allocations: 82.95 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9174, allocations: 19.84 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.9174, allocations: 24.83 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.9174, allocations: 314.1 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.9175, allocations: 9.531 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.162e-05/0.9175, allocations: 95.55 kB / 1.157 GB, free: 30.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.88e-05/0.9176, allocations: 29.8 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9176, allocations: 3.938 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.242e-05/0.9177, allocations: 59.17 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.9177, allocations: 5.75 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9177, allocations: 3.281 kB / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9177, allocations: 0 / 1.158 GB, free: 30.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.9178, allocations: 13.94 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.9178, allocations: 0 / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.9179, allocations: 12.45 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.9179, allocations: 2.719 kB / 1.158 GB, free: 30.23 MB / 1.076 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 6.098e-05/0.9179, allocations: 120.2 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.9179, allocations: 5.953 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.918, allocations: 10.16 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.918, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.918, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.918, allocations: 4 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.54e-05/0.918, allocations: 112.3 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.918, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.9181, allocations: 5.25 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.9181, allocations: 3.375 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.9181, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.9181, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9181, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.9182, allocations: 95.84 kB / 1.158 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.9182, allocations: 17.92 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.9182, allocations: 2.812 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.9183, allocations: 12.97 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.9184, allocations: 3.469 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.9184, allocations: 2.812 kB / 1.158 GB, free: 29.86 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.9184, allocations: 85.03 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9184, allocations: 0 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001979/0.9186, allocations: 10.47 kB / 1.158 GB, free: 29.78 MB / 1.076 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 9.574e-05/0.9187, allocations: 103.6 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.9188, allocations: 24.12 kB / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9188, allocations: 0 / 1.158 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.9189, allocations: 24.09 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.919, allocations: 10.62 kB / 1.158 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.9193, allocations: 121.8 kB / 1.158 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.9194, allocations: 73.84 kB / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.9194, allocations: 5.312 kB / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.9194, allocations: 11.28 kB / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.9194, allocations: 0 / 1.158 GB, free: 29.46 MB / 1.076 GB Notification: Performance of Templates: time 0.00305/0.9225, allocations: 0.9303 MB / 1.159 GB, free: 29.31 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.997755635064095]