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.002114/0.002114, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001845/0.001845, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.019/3.019, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.128e-05, allocations: 3.859 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002885/0.002917, allocations: 1.416 MB / 0.8122 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.003087, allocations: 39.83 kB / 0.8122 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.003126, allocations: 0.7656 kB / 0.8122 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.003297, allocations: 20.64 kB / 0.8122 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.003411, allocations: 16.62 kB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.117e-06/0.003415, allocations: 1.688 kB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.003487, allocations: 19.92 kB / 0.8123 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.003519, allocations: 0 / 0.8123 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.003575, allocations: 11.98 kB / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.003626, allocations: 9.469 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.003651, allocations: 0 / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.206e-05/0.003703, allocations: 12 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.003742, allocations: 3.984 kB / 0.8123 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.003764, allocations: 8.5 kB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003871, allocations: 35.83 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003874, allocations: 0.9062 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003875, allocations: 0 / 0.8123 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.676e-06/0.003878, allocations: 0.625 kB / 0.8123 GB, free: 0.5547 MB / 0.7605 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.0006625/0.004541, allocations: 356.2 kB / 0.8127 GB, free: 172 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.004577, allocations: 13.62 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.004624, allocations: 0.9375 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.004806, allocations: 124.5 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.00482, allocations: 4.359 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-06/0.004826, allocations: 2.938 kB / 0.8128 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.004926, allocations: 30.2 kB / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004934, allocations: 192 / 0.8128 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004943, allocations: 8.359 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.004963, allocations: 4.312 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.004983, allocations: 3.938 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.00515, allocations: 121.2 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.28e-05/0.005212, allocations: 23.78 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.005233, allocations: 7.688 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.005252, allocations: 4.594 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.00529, allocations: 37.33 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.005291, allocations: 1.625 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001457/0.005436, allocations: 37.7 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.005482, allocations: 51.41 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.005658, allocations: 190.4 kB / 0.8133 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.005677, allocations: 25.7 kB / 0.8133 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.005756, allocations: 131.6 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.005777, allocations: 4.641 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.005813, allocations: 19.38 kB / 0.8135 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002662/0.006079, allocations: 0.4894 MB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.00609, allocations: 0 / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.006101, allocations: 7.922 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.006133, allocations: 13.06 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006135, allocations: 0 / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.419e-05/0.006199, allocations: 39.45 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006213, allocations: 4 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.006217, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.00623, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.006279, allocations: 4 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.006283, allocations: 1.219 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.494e-05/0.006298, allocations: 3.938 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006302, allocations: 0 / 0.814 GB, free: 14.62 MB / 0.7761 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 0.0001154/0.006418, allocations: 161.4 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.00643, allocations: 7.891 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.006528, allocations: 47.33 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006529, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.006532, allocations: 0 / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.006539, allocations: 7.922 kB / 0.8142 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.006652, allocations: 116.6 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006653, allocations: 2.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.006669, allocations: 7.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00667, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.006681, allocations: 7.969 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006682, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.006683, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.006782, allocations: 76.36 kB / 0.8144 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.006797, allocations: 7.953 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.006808, allocations: 1.438 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-06/0.006817, allocations: 0 / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.006836, allocations: 3.984 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.00684, allocations: 4.625 kB / 0.8145 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.078e-05/0.006931, allocations: 131.2 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006931, allocations: 0.5625 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001839/0.007115, allocations: 7.938 kB / 0.8146 GB, free: 13.98 MB / 0.7761 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.0002777/0.007393, allocations: 119.9 kB / 0.8147 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.007475, allocations: 12.5 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.007476, allocations: 0 / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.007505, allocations: 20.56 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.007639, allocations: 0 / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.007945, allocations: 111.1 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.008011, allocations: 67.92 kB / 0.8149 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.008038, allocations: 11.86 kB / 0.8149 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.008062, allocations: 8.5 kB / 0.8149 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.008062, allocations: 0 / 0.8149 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.00351/0.01157, allocations: 0.5267 MB / 0.8154 GB, free: 13.07 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.985072321956977]