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.0008349/0.0008349, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007706/0.0007706, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 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 0.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.664 MB / 186.7 MB " [Timeout remaining time 179] 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 1.655/1.655, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.621e-05, allocations: 5.516 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003144/0.00318, allocations: 1.401 MB / 0.9531 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002234/0.003404, allocations: 39.81 kB / 0.9531 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.003461, allocations: 0 / 0.9531 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.003696, allocations: 15.81 kB / 0.9531 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003846, allocations: 15.92 kB / 0.9531 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.082e-06/0.003852, allocations: 4 kB / 0.9531 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.003941, allocations: 15.94 kB / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.003995, allocations: 0 / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.078e-05/0.004056, allocations: 19.91 kB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.00412, allocations: 4 kB / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.004147, allocations: 0 / 0.9532 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.004207, allocations: 15.98 kB / 0.9532 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.004266, allocations: 4 kB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.00429, allocations: 7.938 kB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004448, allocations: 31.89 kB / 0.9532 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.004452, allocations: 0 / 0.9532 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004454, allocations: 4 kB / 0.9532 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.004459, allocations: 0 / 0.9532 GB, free: 1.422 MB / 0.9011 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.0004153/0.004874, allocations: 262.2 kB / 0.9535 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.004921, allocations: 15.97 kB / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.00496, allocations: 0.9375 kB / 0.9535 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.005138, allocations: 117.7 kB / 0.9536 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.005149, allocations: 384 / 0.9536 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.005159, allocations: 4.375 kB / 0.9536 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.005261, allocations: 30.2 kB / 0.9536 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.00527, allocations: 192 / 0.9536 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005281, allocations: 8.375 kB / 0.9537 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.005305, allocations: 4.375 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.936e-05/0.005334, allocations: 7.922 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.005481, allocations: 109.3 kB / 0.9538 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.005528, allocations: 14.58 kB / 0.9538 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.00555, allocations: 12.92 kB / 0.9538 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.005573, allocations: 3.938 kB / 0.9538 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.005597, allocations: 34.55 kB / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.005599, allocations: 0 / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.005754, allocations: 37.7 kB / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.005791, allocations: 55.53 kB / 0.9539 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.005907, allocations: 121.8 kB / 0.954 GB, free: 468 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.00592, allocations: 25.7 kB / 0.9541 GB, free: 436 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.005958, allocations: 84.14 kB / 0.9541 GB, free: 348 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.005984, allocations: 3.953 kB / 0.9541 GB, free: 344 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.006019, allocations: 17.7 kB / 0.9542 GB, free: 320 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.006121, allocations: 310.8 kB / 0.9545 GB, free: 0 / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.006158, allocations: 4.109 kB / 0.9545 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.006168, allocations: 7.938 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.006199, allocations: 8.859 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006202, allocations: 4.062 kB / 0.9545 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.546e-05/0.006278, allocations: 37.69 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.006296, allocations: 6.656 kB / 0.9545 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.006303, allocations: 0 / 0.9545 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.006318, allocations: 0 / 0.9545 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.006387, allocations: 4 kB / 0.9545 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.006392, allocations: 3.828 kB / 0.9545 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.006409, allocations: 3.938 kB / 0.9545 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.006416, allocations: 320 / 0.9545 GB, free: 15.91 MB / 0.9167 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.91e-05/0.006495, allocations: 121.8 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.00651, allocations: 7.938 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.006626, allocations: 45.11 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006628, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.006633, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.006638, allocations: 3.938 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.784e-05/0.006726, allocations: 109.3 kB / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.006729, allocations: 4 kB / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.006753, allocations: 0 / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.006756, allocations: 0 / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.006763, allocations: 0 / 0.9548 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.006767, allocations: 12.02 kB / 0.9548 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.006769, allocations: 0 / 0.9548 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.006853, allocations: 61.02 kB / 0.9549 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.006865, allocations: 0 / 0.9549 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.006878, allocations: 0 / 0.9549 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.006888, allocations: 4 kB / 0.9549 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.006907, allocations: 7.984 kB / 0.9549 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.00691, allocations: 0 / 0.9549 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.006976, allocations: 95.25 kB / 0.955 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006976, allocations: 0 / 0.955 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001334/0.00711, allocations: 15.92 kB / 0.955 GB, free: 15.37 MB / 0.9167 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.0002021/0.007312, allocations: 115.9 kB / 0.9551 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.007385, allocations: 8 kB / 0.9551 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007387, allocations: 0 / 0.9551 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.007392, allocations: 7.938 kB / 0.9551 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.007502, allocations: 128 / 0.9551 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.007779, allocations: 142.5 kB / 0.9553 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.007822, allocations: 63.3 kB / 0.9553 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.007843, allocations: 12.48 kB / 0.9553 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.007844, allocations: 0 / 0.9553 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of Templates: time 0.001816/0.00966, allocations: 0.785 MB / 0.9561 GB, free: 14.19 MB / 0.9167 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 -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/jenkins/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: 6.5947590889409184]