Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.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.0007931/0.0007931, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009959/0.001789, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006967/0.0006967, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008519/0.001549, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9371/0.9371, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08532/1.022, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.428/2.428, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2536/2.682, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.929e-06/1.085e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0009812/0.0009921, allocations: 0.6575 MB / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 1.34e-05/0.001005, allocations: 0 / 0.8189 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.001017, allocations: 3.938 kB / 0.8189 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.001032, allocations: 0 / 0.8189 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-07/0.001033, allocations: 0 / 0.8189 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.568e-06/0.001042, allocations: 0 / 0.8189 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 3.39e-05/0.001076, allocations: 4 kB / 0.8189 GB, free: 2.258 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.9e-05/0.001105, allocations: 11.94 kB / 0.8189 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.001129, allocations: 0 / 0.8189 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.677e-05/0.001146, allocations: 4 kB / 0.8189 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.001157, allocations: 0 / 0.8189 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-06/0.001161, allocations: 0 / 0.8189 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.763e-06/0.001167, allocations: 0 / 0.8189 GB, free: 2.242 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.041e-05/0.001178, allocations: 4 kB / 0.8189 GB, free: 2.238 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 3.794e-05/0.001216, allocations: 3.984 kB / 0.8189 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.001226, allocations: 0 / 0.8189 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.01e-07/0.001227, allocations: 0 / 0.8189 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.001237, allocations: 0 / 0.8189 GB, free: 2.234 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005363/0.001773, allocations: 212.7 kB / 0.8191 GB, free: 2 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.001802, allocations: 12.62 kB / 0.8191 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.687e-05/0.001819, allocations: 4.938 kB / 0.8192 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.931e-05/0.001869, allocations: 109.8 kB / 0.8193 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.001876, allocations: 384 / 0.8193 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.001882, allocations: 8.312 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.761e-05/0.00194, allocations: 30.2 kB / 0.8193 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.001945, allocations: 192 / 0.8193 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-06/0.001949, allocations: 384 / 0.8193 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.001954, allocations: 384 / 0.8193 GB, free: 1.809 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.092e-05/0.001965, allocations: 7.938 kB / 0.8193 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.132e-05/0.002016, allocations: 57.05 kB / 0.8194 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 2.743e-05/0.002043, allocations: 22.61 kB / 0.8194 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.002056, allocations: 4.859 kB / 0.8194 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.002061, allocations: 3.984 kB / 0.8194 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.002079, allocations: 38.56 kB / 0.8194 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.002079, allocations: 0 / 0.8194 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 7.138e-05/0.00215, allocations: 33.69 kB / 0.8195 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.002174, allocations: 51.41 kB / 0.8195 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.473e-05/0.002199, allocations: 89.86 kB / 0.8196 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.002206, allocations: 25.7 kB / 0.8196 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.951e-05/0.002226, allocations: 80.27 kB / 0.8197 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.002247, allocations: 4 kB / 0.8197 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/0.002269, allocations: 17.7 kB / 0.8197 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.002339, allocations: 314.8 kB / 0.82 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-06/0.002343, allocations: 0 / 0.82 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-06/0.002349, allocations: 11.94 kB / 0.82 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.612e-05/0.002365, allocations: 8.844 kB / 0.82 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.002366, allocations: 0 / 0.82 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.659e-05/0.002393, allocations: 29.7 kB / 0.8201 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.002403, allocations: 8 kB / 0.8201 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.002407, allocations: 4.094 kB / 0.8201 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-06/0.002412, allocations: 0 / 0.8201 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.653e-05/0.002448, allocations: 0 / 0.8201 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.002452, allocations: 4 kB / 0.8201 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-06/0.002457, allocations: 0 / 0.8201 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-06/0.002459, allocations: 0 / 0.8201 GB, free: 0.9102 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.179e-05/0.002501, allocations: 109.8 kB / 0.8202 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-06/0.002505, allocations: 7.922 kB / 0.8202 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.056e-05/0.002516, allocations: 7 kB / 0.8202 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.002517, allocations: 0 / 0.8202 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.002518, allocations: 7.938 kB / 0.8202 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.002521, allocations: 0 / 0.8202 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.707e-05/0.002558, allocations: 61.84 kB / 0.8203 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.002558, allocations: 0 / 0.8203 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.002563, allocations: 4 kB / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-06/0.002566, allocations: 0 / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.002567, allocations: 0 / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-06/0.002569, allocations: 0 / 0.8203 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.00257, allocations: 3.984 kB / 0.8203 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.002572, allocations: 4 kB / 0.8203 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.751e-05/0.002609, allocations: 57.08 kB / 0.8203 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-06/0.002615, allocations: 4.031 kB / 0.8203 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-06/0.00262, allocations: 4 kB / 0.8203 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-06/0.002626, allocations: 4 kB / 0.8203 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-07/0.002627, allocations: 0 / 0.8203 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.138e-06/0.002631, allocations: 8.797 kB / 0.8203 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.002631, allocations: 0 / 0.8203 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of remove unused functions: time 7.952e-05/0.002711, allocations: 0 / 0.8203 GB, free: 0.5859 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 4.765e-05/0.002759, allocations: 76.41 kB / 0.8204 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 3.438e-05/0.002793, allocations: 12.86 kB / 0.8204 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.002795, allocations: 0 / 0.8204 GB, free: 496 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-06/0.0028, allocations: 8.859 kB / 0.8204 GB, free: 484 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.226e-05/0.002832, allocations: 6.328 kB / 0.8204 GB, free: 480 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001028/0.002935, allocations: 93.12 kB / 0.8205 GB, free: 360 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.143e-05/0.002956, allocations: 55.36 kB / 0.8206 GB, free: 284 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.183e-06/0.002964, allocations: 0 / 0.8206 GB, free: 284 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.002985, allocations: 47.38 kB / 0.8206 GB, free: 236 kB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/0.002985, allocations: 0 / 0.8206 GB, free: 236 kB / 0.7917 GB Notification: Performance of Templates: time 0.001142/0.004128, allocations: 205 kB / 0.8208 GB, free: 32 kB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.ref.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.100222044624388]