Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 189.9 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7562, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002612/0.7588, allocations: 1.385 MB / 1.22 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001753/0.7589, allocations: 48.2 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.759, allocations: 1.219 kB / 1.22 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.7591, allocations: 18.11 kB / 1.22 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.7593, allocations: 12 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.497e-06/0.7593, allocations: 0 / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.7593, allocations: 18.2 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.7594, allocations: 6.344 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.083e-05/0.7594, allocations: 11.77 kB / 1.22 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.7595, allocations: 10.08 kB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.7595, allocations: 1.375 kB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.819e-05/0.7595, allocations: 16.03 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.7596, allocations: 5.188 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.7596, allocations: 10.28 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.9e-05/0.7597, allocations: 29.67 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7597, allocations: 3.938 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7597, allocations: 1.344 kB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.7597, allocations: 0 / 1.22 GB, free: 2.484 MB / 0.92 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.0003701/0.7601, allocations: 341.8 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7601, allocations: 9.188 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.7601, allocations: 2.062 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.7603, allocations: 177.5 kB / 1.22 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/0.7603, allocations: 384 / 1.22 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.7603, allocations: 1.594 kB / 1.22 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.7604, allocations: 36.69 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7604, allocations: 192 / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.7604, allocations: 5.281 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.7604, allocations: 4 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.7605, allocations: 2.531 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.7606, allocations: 153.3 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.768e-05/0.7607, allocations: 17.08 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.7607, allocations: 10.17 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.7607, allocations: 1.438 kB / 1.221 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.7607, allocations: 43.73 kB / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.7607, allocations: 0 / 1.221 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.7609, allocations: 37.33 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7609, allocations: 55.34 kB / 1.221 GB, free: 1.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.761, allocations: 118.8 kB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.761, allocations: 25.7 kB / 1.221 GB, free: 1.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.7611, allocations: 86.67 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.7611, allocations: 7.891 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.7611, allocations: 16.08 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7613, allocations: 319.9 kB / 1.221 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.7613, allocations: 1.344 kB / 1.221 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.006e-05/0.7613, allocations: 5.281 kB / 1.221 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.7613, allocations: 12.95 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7613, allocations: 1.438 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.124e-05/0.7614, allocations: 35.59 kB / 1.221 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.7614, allocations: 5.531 kB / 1.221 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7614, allocations: 8.344 kB / 1.221 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7614, allocations: 1.219 kB / 1.221 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.7615, allocations: 2.031 kB / 1.221 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.7615, allocations: 0 / 1.221 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.357e-05/0.7615, allocations: 1.031 kB / 1.221 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7615, allocations: 3.984 kB / 1.221 GB, free: 0.832 MB / 0.92 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.915e-05/0.7616, allocations: 112.1 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.7616, allocations: 10.22 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.354e-05/0.7617, allocations: 54.95 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.7617, allocations: 1.188 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.7617, allocations: 0 / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7617, allocations: 1.125 kB / 1.222 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.7618, allocations: 162.2 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7618, allocations: 0 / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.7618, allocations: 5.141 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7618, allocations: 1.281 kB / 1.222 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.7618, allocations: 3.938 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7618, allocations: 0 / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7618, allocations: 1 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.614e-05/0.7619, allocations: 69.81 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.762, allocations: 77.11 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.762, allocations: 5.219 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.762, allocations: 0 / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.762, allocations: 1.25 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.762, allocations: 3.938 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.7621, allocations: 96.8 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7621, allocations: 4.031 kB / 1.222 GB, free: 176 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000194/0.7623, allocations: 11.39 kB / 1.222 GB, free: 168 kB / 0.92 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.0001907/0.7625, allocations: 107.1 kB / 1.222 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.379e-05/0.7625, allocations: 4.719 kB / 1.222 GB, free: 76 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7625, allocations: 4.062 kB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.7625, allocations: 10.25 kB / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.7627, allocations: 4.531 kB / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.763, allocations: 111.7 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.7632, allocations: 0.6779 MB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.076e-05/0.7633, allocations: 3.281 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.7633, allocations: 8.594 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.7633, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.00282/0.7661, allocations: 0.5089 MB / 1.223 GB, free: 14.96 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.373973341658711]