Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001822/0.001822, allocations: 77.55 kB / 19.76 MB, free: 2.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.002191/0.002191, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.676/2.676, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002106/0.002106, allocations: 71.89 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2708, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002743/0.2736, allocations: 1.393 MB / 1.119 GB, free: 1.129 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000155/0.2737, allocations: 35.89 kB / 1.119 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.2737, allocations: 3.938 kB / 1.119 GB, free: 1.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.2739, allocations: 11.91 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.891e-05/0.274, allocations: 15.94 kB / 1.119 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.274, allocations: 0 / 1.119 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.205e-05/0.274, allocations: 23.86 kB / 1.119 GB, free: 1.039 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.2741, allocations: 4 kB / 1.119 GB, free: 1.035 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.2741, allocations: 8 kB / 1.119 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.2742, allocations: 11.92 kB / 1.119 GB, free: 1.016 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2742, allocations: 4 kB / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.2742, allocations: 11.98 kB / 1.119 GB, free: 1 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.2743, allocations: 4 kB / 1.119 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.398e-05/0.2743, allocations: 3.938 kB / 1.119 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.59e-05/0.2744, allocations: 27.91 kB / 1.119 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2744, allocations: 3.938 kB / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2744, allocations: 0 / 1.119 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2744, allocations: 0 / 1.119 GB, free: 0.9609 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.0003513/0.2747, allocations: 266.2 kB / 1.119 GB, free: 0.668 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2748, allocations: 16.03 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.2748, allocations: 4.891 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.275, allocations: 114.5 kB / 1.119 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.275, allocations: 12.3 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.275, allocations: 384 / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.747e-05/0.2751, allocations: 34.25 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2751, allocations: 192 / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.2751, allocations: 3.938 kB / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2751, allocations: 0 / 1.119 GB, free: 468 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.2751, allocations: 4 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2752, allocations: 105.4 kB / 1.119 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.939e-05/0.2753, allocations: 26.5 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.2753, allocations: 8.922 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.2753, allocations: 0 / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.2754, allocations: 34.56 kB / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2754, allocations: 0 / 1.12 GB, free: 236 kB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.2755, allocations: 45.59 kB / 1.12 GB, free: 184 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.2755, allocations: 51.41 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2757, allocations: 125.9 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2757, allocations: 25.7 kB / 1.12 GB, free: 15.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.2758, allocations: 88.2 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.2758, allocations: 0 / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.2758, allocations: 17.72 kB / 1.12 GB, free: 15.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2759, allocations: 310.8 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.276, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-06/0.276, allocations: 3.984 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.276, allocations: 12.86 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.276, allocations: 0 / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.51e-05/0.2761, allocations: 37.66 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2761, allocations: 4.094 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.2761, allocations: 4 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2761, allocations: 11.88 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.987e-05/0.2761, allocations: 3.938 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2761, allocations: 3.984 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.2762, allocations: 0 / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-06/0.2762, allocations: 0 / 1.12 GB, free: 15.43 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: 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 7.553e-05/0.2762, allocations: 113.8 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.2762, allocations: 0 / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.873e-05/0.2763, allocations: 45 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.2763, allocations: 11.97 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2763, allocations: 0 / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2763, allocations: 4 kB / 1.12 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.446e-05/0.2764, allocations: 105.3 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2764, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.2764, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2764, allocations: 0 / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2764, allocations: 4 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2764, allocations: 0 / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.2764, allocations: 7.875 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.413e-05/0.2765, allocations: 65.08 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.2765, allocations: 4.031 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2766, allocations: 4 kB / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.2766, allocations: 0 / 1.121 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2766, allocations: 3.938 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2766, allocations: 0 / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.755e-05/0.2766, allocations: 95.27 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2766, allocations: 0 / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001928/0.2768, allocations: 7.938 kB / 1.121 GB, free: 14.91 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: 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.0001966/0.277, allocations: 117.5 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.2771, allocations: 15.92 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2771, allocations: 4 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-06/0.2771, allocations: 0 / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2773, allocations: 4 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.2775, allocations: 117.3 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.296e-05/0.2776, allocations: 67.47 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.477e-05/0.2776, allocations: 7.938 kB / 1.121 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.2776, allocations: 8.5 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.2776, allocations: 0 / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of Templates: time 0.002719/0.2803, allocations: 0.5078 MB / 1.122 GB, free: 14.02 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.671938445069827]