Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001854/0.001854, allocations: 112.4 kB / 17.08 MB, free: 6.012 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.002231/0.002231, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.424/1.424, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 489.3 MB / 0.7687 GB, free: 3.77 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.88 kB / 1.103 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002721/1.08, allocations: 1.375 MB / 1.264 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001633/1.08, allocations: 41.83 kB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/1.08, allocations: 0.9375 kB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/1.081, allocations: 10.86 kB / 1.264 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/1.081, allocations: 22.39 kB / 1.264 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-06/1.081, allocations: 4 kB / 1.264 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.119e-05/1.081, allocations: 17.09 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/1.081, allocations: 3.219 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/1.081, allocations: 7.859 kB / 1.264 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/1.081, allocations: 8.75 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/1.081, allocations: 0.875 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.287e-05/1.081, allocations: 12.5 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.499e-05/1.081, allocations: 6.328 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/1.081, allocations: 14.47 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/1.081, allocations: 28.8 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.081, allocations: 1.531 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.081, allocations: 3.938 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.178e-05/1.081, allocations: 0 / 1.264 GB, free: 6.965 MB / 0.9981 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.0002983/1.082, allocations: 335.7 kB / 1.264 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.082, allocations: 9.438 kB / 1.264 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/1.082, allocations: 7.062 kB / 1.264 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.082, allocations: 180.4 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/1.082, allocations: 1.25 kB / 1.265 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/1.082, allocations: 9.719 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/1.082, allocations: 30.53 kB / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.082, allocations: 192 / 1.265 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/1.082, allocations: 4.547 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/1.082, allocations: 1.531 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/1.082, allocations: 2.203 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/1.082, allocations: 158.5 kB / 1.265 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/1.082, allocations: 20.98 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/1.082, allocations: 14.89 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/1.082, allocations: 1.422 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/1.082, allocations: 31.28 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/1.082, allocations: 0 / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001296/1.082, allocations: 43.3 kB / 1.265 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/1.082, allocations: 52.92 kB / 1.265 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/1.083, allocations: 123.1 kB / 1.265 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/1.083, allocations: 25.7 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/1.083, allocations: 86.48 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/1.083, allocations: 1.625 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/1.083, allocations: 11.97 kB / 1.265 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/1.083, allocations: 316.8 kB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/1.083, allocations: 2.188 kB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/1.083, allocations: 1.625 kB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/1.083, allocations: 15 kB / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/1.083, allocations: 0 / 1.265 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.289e-05/1.083, allocations: 42 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.083, allocations: 5.438 kB / 1.266 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.083, allocations: 4.641 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/1.083, allocations: 0.75 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/1.083, allocations: 2.125 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.083, allocations: 0.7812 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/1.083, allocations: 0.9062 kB / 1.266 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/1.083, allocations: 8.672 kB / 1.266 GB, free: 5.344 MB / 0.9981 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 4.721e-05/1.083, allocations: 108.8 kB / 1.266 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/1.083, allocations: 6.078 kB / 1.266 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/1.083, allocations: 47.17 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/1.083, allocations: 4 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.083, allocations: 5.266 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.083, allocations: 0.625 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.985e-05/1.083, allocations: 159.7 kB / 1.266 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/1.083, allocations: 0 / 1.266 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/1.083, allocations: 6.359 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.083, allocations: 0.875 kB / 1.266 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/1.083, allocations: 3.938 kB / 1.266 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.083, allocations: 1.438 kB / 1.266 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/1.083, allocations: 0 / 1.266 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.166e-05/1.083, allocations: 64.2 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/1.083, allocations: 82.45 kB / 1.266 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.083, allocations: 9.562 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-06/1.083, allocations: 0 / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/1.083, allocations: 1.625 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.083, allocations: 0.875 kB / 1.266 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.495e-05/1.083, allocations: 94.81 kB / 1.266 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.083, allocations: 0 / 1.266 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002062/1.084, allocations: 4.703 kB / 1.266 GB, free: 4.711 MB / 0.9981 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.0002023/1.084, allocations: 117.9 kB / 1.266 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/1.084, allocations: 6.172 kB / 1.266 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.084, allocations: 0.6562 kB / 1.266 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/1.084, allocations: 6.938 kB / 1.266 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/1.084, allocations: 1.422 kB / 1.266 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/1.084, allocations: 138.8 kB / 1.266 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/1.085, allocations: 0.6814 MB / 1.267 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/1.085, allocations: 9.766 kB / 1.267 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/1.085, allocations: 0 / 1.267 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of Templates: time 0.002912/1.087, allocations: 0.7791 MB / 1.268 GB, free: 3.668 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.370917034102604]