Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001608/0.001608, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.002106/0.002106, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.616/1.616, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.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 3.039/3.039, allocations: 0.49 GB / 0.7923 GB, free: 1.355 MB / 0.6231 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [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.002011/0.002011, allocations: 79.88 kB / 1.15 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002238/1.018, allocations: 1.389 MB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/1.018, allocations: 43.36 kB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/1.018, allocations: 0 / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/1.019, allocations: 17.91 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/1.019, allocations: 18.22 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/1.019, allocations: 0 / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/1.019, allocations: 12.5 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/1.019, allocations: 3.328 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/1.019, allocations: 16.91 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/1.019, allocations: 13.73 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/1.019, allocations: 6.453 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/1.019, allocations: 5.156 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/1.019, allocations: 6.531 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/1.019, allocations: 6.812 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/1.019, allocations: 30.72 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.019, allocations: 6.844 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/1.019, allocations: 0 / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.16e-06/1.019, allocations: 0 / 1.323 GB, free: 23.96 MB / 1.061 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.0002706/1.019, allocations: 337 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/1.019, allocations: 12.52 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/1.019, allocations: 4.891 kB / 1.324 GB, free: 23.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/1.02, allocations: 173.4 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.02, allocations: 4.375 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/1.02, allocations: 4.359 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/1.02, allocations: 43.06 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.02, allocations: 192 / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/1.02, allocations: 3.938 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/1.02, allocations: 4 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.154e-05/1.02, allocations: 2.812 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/1.02, allocations: 151.8 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/1.02, allocations: 21.39 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.943e-05/1.02, allocations: 11.61 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.02, allocations: 3.422 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/1.02, allocations: 38.5 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/1.02, allocations: 0 / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/1.02, allocations: 45.88 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/1.02, allocations: 51.41 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.02, allocations: 118.8 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.02, allocations: 25.7 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/1.02, allocations: 82.7 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/1.02, allocations: 4 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/1.02, allocations: 12.75 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/1.02, allocations: 314.8 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/1.02, allocations: 6.094 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/1.02, allocations: 0 / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/1.021, allocations: 18.39 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.021, allocations: 0 / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.004e-05/1.021, allocations: 35.09 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.021, allocations: 8.531 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.021, allocations: 8.031 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.021, allocations: 2.75 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/1.021, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/1.021, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/1.021, allocations: 2.344 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/1.021, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 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 6.546e-05/1.021, allocations: 112.9 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/1.021, allocations: 0 / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.269e-05/1.021, allocations: 52.3 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.021, allocations: 4.031 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.021, allocations: 0 / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.021, allocations: 7.125 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.437e-05/1.021, allocations: 158.7 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.021, allocations: 0 / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/1.021, allocations: 2.844 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/1.021, allocations: 0 / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.021, allocations: 3.938 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/1.021, allocations: 0 / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.021, allocations: 3.281 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.346e-05/1.021, allocations: 75.41 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/1.021, allocations: 80.53 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/1.021, allocations: 7.938 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-06/1.021, allocations: 0 / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.585e-05/1.021, allocations: 2.688 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/1.021, allocations: 0 / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.75e-05/1.021, allocations: 91.08 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.021, allocations: 4.031 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002196/1.021, allocations: 5.812 kB / 1.326 GB, free: 21.7 MB / 1.061 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 0.0002556/1.022, allocations: 113.9 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.022, allocations: 9.922 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.022, allocations: 0 / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/1.022, allocations: 10.59 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/1.022, allocations: 3.219 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/1.022, allocations: 134.5 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/1.022, allocations: 0.6772 MB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/1.022, allocations: 13.62 kB / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.022, allocations: 0 / 1.326 GB, free: 20.75 MB / 1.061 GB Notification: Performance of Templates: time 0.002471/1.025, allocations: 0.7686 MB / 1.327 GB, free: 20.66 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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: 12.445111410997924]