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.001082/0.001082, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001684/0.001684, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.039/1.039, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.129/2.129, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.703e-06/1.703e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.185e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002398/0.00243, allocations: 1.564 MB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004146/0.002845, allocations: 193 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.002885, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.002912, allocations: 4 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.003151, allocations: 27.77 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.003315, allocations: 56.55 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.003417, allocations: 62.25 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.003488, allocations: 4.531 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.076e-05/0.003569, allocations: 38.66 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.003644, allocations: 21.28 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.003665, allocations: 5.75 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.003678, allocations: 8 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.003701, allocations: 9.734 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.003735, allocations: 22.73 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.471e-05/0.00383, allocations: 52.73 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003833, allocations: 0 / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003834, allocations: 0 / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003838, allocations: 1.75 kB / 0.7621 GB, free: 4.559 MB / 0.7136 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.0003615/0.004199, allocations: 252.9 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.004234, allocations: 8.031 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.004266, allocations: 4.938 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.004347, allocations: 110.5 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.004359, allocations: 4.375 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.004371, allocations: 9.125 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.004502, allocations: 137.6 kB / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004509, allocations: 192 / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.004518, allocations: 384 / 0.7626 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004524, allocations: 6.484 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.554e-05/0.00455, allocations: 11.94 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.004834, allocations: 164.2 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.581e-05/0.004899, allocations: 34.58 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.004921, allocations: 22.28 kB / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.004928, allocations: 0 / 0.7628 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.845e-05/0.005026, allocations: 59.39 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 4.058e-06/0.00503, allocations: 1.25 kB / 0.7629 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001118/0.005142, allocations: 57.56 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.005201, allocations: 106.8 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.005256, allocations: 111.9 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.005271, allocations: 25.7 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.005304, allocations: 88.08 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.005326, allocations: 23.12 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.005359, allocations: 21.72 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.00544, allocations: 318.8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.005454, allocations: 4 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.005499, allocations: 77.97 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.998e-05/0.005539, allocations: 20.84 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005541, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.823e-05/0.005609, allocations: 57.61 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.005622, allocations: 7.938 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.005628, allocations: 7.203 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.005641, allocations: 4 kB / 0.7638 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.005712, allocations: 15.98 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005716, allocations: 3.984 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.005765, allocations: 4 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.005772, allocations: 3.984 kB / 0.7638 GB, free: 2.605 MB / 0.7136 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.976e-05/0.005841, allocations: 117.8 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.005852, allocations: 5.5 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.005871, allocations: 7.75 kB / 0.7639 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.005875, allocations: 4 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005877, allocations: 0 / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00588, allocations: 0.6562 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.051e-05/0.00597, allocations: 73.84 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005971, allocations: 4.969 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-05/0.00599, allocations: 8.5 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.005991, allocations: 2.531 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.005997, allocations: 3.984 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.005998, allocations: 4 kB / 0.764 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.006001, allocations: 3.938 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.843e-05/0.00608, allocations: 69.11 kB / 0.7641 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.00611, allocations: 11.92 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.006128, allocations: 8 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.006169, allocations: 7.125 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.006197, allocations: 7.922 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.0062, allocations: 0 / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.487e-05/0.006215, allocations: 12.86 kB / 0.7641 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006215, allocations: 0 / 0.7641 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001078/0.006323, allocations: 15.98 kB / 0.7641 GB, free: 2.207 MB / 0.7136 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 9.658e-05/0.00642, allocations: 85.77 kB / 0.7642 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.472e-05/0.006495, allocations: 26.47 kB / 0.7643 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.006498, allocations: 4 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.006526, allocations: 12.86 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.635e-05/0.006602, allocations: 11.92 kB / 0.7643 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003803/0.006983, allocations: 141.8 kB / 0.7644 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.421e-05/0.007017, allocations: 59.34 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.007049, allocations: 10.38 kB / 0.7645 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.007132, allocations: 67.34 kB / 0.7645 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.007133, allocations: 0 / 0.7645 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.002783/0.009916, allocations: 1.062 MB / 0.7656 GB, free: 0.7227 MB / 0.7136 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] 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","",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.310104424133897]