Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001895/0.001895, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002355/0.002355, allocations: 164.3 kB / 22.46 MB, free: 5.359 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.745/2.745, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.603e-05, allocations: 5.375 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002902/0.002928, allocations: 1.506 MB / 0.9524 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.004649, allocations: 1.208 MB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.004714, allocations: 3.938 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.00489, allocations: 23.73 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.005106, allocations: 43.77 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.005306, allocations: 58.97 kB / 0.9537 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.005526, allocations: 151.5 kB / 0.9539 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.005655, allocations: 29.28 kB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.005817, allocations: 111.7 kB / 0.954 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.00596, allocations: 43.89 kB / 0.954 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.006014, allocations: 8 kB / 0.9541 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.0061, allocations: 31.92 kB / 0.9541 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.006193, allocations: 51.81 kB / 0.9541 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.006283, allocations: 51.83 kB / 0.9542 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.006609, allocations: 211.4 kB / 0.9544 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006612, allocations: 4 kB / 0.9544 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006613, allocations: 4 kB / 0.9544 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.006623, allocations: 0 / 0.9544 GB, free: 8.055 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007118/0.007335, allocations: 421.3 kB / 0.9548 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.007381, allocations: 8.031 kB / 0.9548 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.007467, allocations: 20.84 kB / 0.9548 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.007805, allocations: 206.9 kB / 0.955 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.008008, allocations: 218.2 kB / 0.9552 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.00803, allocations: 8.375 kB / 0.9552 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.008456, allocations: 257 kB / 0.9555 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.008468, allocations: 4.172 kB / 0.9555 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.008495, allocations: 8.125 kB / 0.9555 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.00852, allocations: 11.94 kB / 0.9555 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.00861, allocations: 43.91 kB / 0.9555 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.009674, allocations: 388.1 kB / 0.9559 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.069e-05/0.009754, allocations: 38.5 kB / 0.956 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.009798, allocations: 20.84 kB / 0.956 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.009825, allocations: 4 kB / 0.956 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.009856, allocations: 42.55 kB / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.009857, allocations: 0 / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002938/0.01015, allocations: 97.58 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.01019, allocations: 55.41 kB / 0.9562 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.01042, allocations: 211.8 kB / 0.9564 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.01046, allocations: 37.64 kB / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.982e-05/0.01055, allocations: 124.1 kB / 0.9565 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.01057, allocations: 27.94 kB / 0.9565 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.01063, allocations: 33.7 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01077, allocations: 330.8 kB / 0.9569 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.209e-05/0.01083, allocations: 27.97 kB / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01095, allocations: 102.2 kB / 0.957 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.01114, allocations: 146 kB / 0.9572 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01114, allocations: 0 / 0.9572 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002849/0.01143, allocations: 157.3 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.01145, allocations: 8 kB / 0.9573 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01145, allocations: 4 kB / 0.9573 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01147, allocations: 4 kB / 0.9573 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.01157, allocations: 19.98 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.01158, allocations: 7.938 kB / 0.9573 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.01165, allocations: 7.953 kB / 0.9574 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01166, allocations: 8.375 kB / 0.9574 GB, free: 4.691 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001385/0.0118, allocations: 153.7 kB / 0.9575 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.01186, allocations: 15.91 kB / 0.9575 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01209, allocations: 119 kB / 0.9576 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.01209, allocations: 4 kB / 0.9576 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.0121, allocations: 3.984 kB / 0.9576 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.0121, allocations: 0 / 0.9576 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.01231, allocations: 153.2 kB / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01231, allocations: 0 / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.01237, allocations: 15.98 kB / 0.9578 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01237, allocations: 0 / 0.9578 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.01238, allocations: 4 kB / 0.9578 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01238, allocations: 4 kB / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01238, allocations: 0 / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.01261, allocations: 195.3 kB / 0.958 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.01263, allocations: 15.84 kB / 0.958 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01266, allocations: 7.984 kB / 0.958 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.01292, allocations: 15.98 kB / 0.958 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.01295, allocations: 7.984 kB / 0.958 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.01298, allocations: 11.98 kB / 0.9581 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001591/0.01314, allocations: 165.5 kB / 0.9582 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01314, allocations: 4 kB / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003154/0.01345, allocations: 23.95 kB / 0.9582 GB, free: 3.734 MB / 0.8575 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 (8): * Single equations (assignments): 8 * 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.0002662/0.01372, allocations: 128.9 kB / 0.9584 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.0139, allocations: 72.03 kB / 0.9584 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.0139, allocations: 0 / 0.9584 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.01394, allocations: 27.92 kB / 0.9585 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.01426, allocations: 23.86 kB / 0.9585 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.01478, allocations: 286.8 kB / 0.9588 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.01491, allocations: 126.8 kB / 0.9589 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000124/0.01503, allocations: 48.92 kB / 0.9589 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.01507, allocations: 20.5 kB / 0.9589 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.01507, allocations: 0 / 0.9589 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.006332/0.0214, allocations: 2.458 MB / 0.9613 GB, free: 0.5469 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.881452824920416]