Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001318/0.001318, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001419/0.001419, allocations: 200.4 kB / 22.17 MB, free: 5.211 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.517/1.517, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.5 MB / 0.732 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.89 kB / 1.061 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7453/0.7475, allocations: 160.7 MB / 1.218 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003031/0.7505, allocations: 1.505 MB / 1.22 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.7523, allocations: 1.195 MB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.7524, allocations: 1 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.7526, allocations: 19.17 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.7528, allocations: 41.09 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.753, allocations: 67.2 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.7532, allocations: 146.1 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.7534, allocations: 43.14 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.7535, allocations: 81.09 kB / 1.221 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.7537, allocations: 56.45 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.7537, allocations: 11.59 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.7538, allocations: 27.55 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.7539, allocations: 47.45 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.754, allocations: 69.53 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.7543, allocations: 211.2 kB / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7543, allocations: 0 / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7543, allocations: 1.094 kB / 1.222 GB, free: 1.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7543, allocations: 4 kB / 1.222 GB, free: 1.406 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007507/0.755, allocations: 497.2 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.755, allocations: 13.17 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.7551, allocations: 21.61 kB / 1.222 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.7555, allocations: 260.5 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.7556, allocations: 116.3 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.7557, allocations: 7.75 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.756, allocations: 166.5 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.756, allocations: 0 / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.7561, allocations: 1.094 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.7561, allocations: 7.062 kB / 1.223 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/0.7562, allocations: 44.47 kB / 1.223 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.7573, allocations: 455.3 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.7574, allocations: 36.59 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.7575, allocations: 23.47 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.7575, allocations: 6.141 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.7576, allocations: 39.59 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.7576, allocations: 5 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0002846/0.7578, allocations: 102.1 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.7579, allocations: 56.36 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.7581, allocations: 218.9 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.7582, allocations: 26.83 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.7583, allocations: 128.4 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.7583, allocations: 31.14 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.7583, allocations: 31.95 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.7585, allocations: 328.3 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.7586, allocations: 26.67 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.7587, allocations: 106.4 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.7589, allocations: 141 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7589, allocations: 1.188 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002617/0.7591, allocations: 154 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7592, allocations: 8.969 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7592, allocations: 2.281 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7592, allocations: 4.062 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.7593, allocations: 27.02 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.7593, allocations: 7.094 kB / 1.225 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.7594, allocations: 12.55 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.7594, allocations: 6.719 kB / 1.225 GB, free: 14.7 MB / 0.9356 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.000146/0.7595, allocations: 146.3 kB / 1.225 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.7596, allocations: 23.41 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.7598, allocations: 115.9 kB / 1.225 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.7598, allocations: 5.109 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7598, allocations: 5 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.7598, allocations: 0 / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.7601, allocations: 229.8 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7601, allocations: 0 / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.7602, allocations: 15.98 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7602, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7602, allocations: 10.19 kB / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7602, allocations: 0 / 1.225 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7602, allocations: 5.031 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.7604, allocations: 184.7 kB / 1.225 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.7605, allocations: 93.33 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.7605, allocations: 4.875 kB / 1.225 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.7608, allocations: 27.47 kB / 1.225 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.7608, allocations: 7.281 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.7609, allocations: 13.66 kB / 1.225 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001641/0.761, allocations: 158.2 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.761, allocations: 1.156 kB / 1.226 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000335/0.7614, allocations: 31.08 kB / 1.226 GB, free: 13.79 MB / 0.9356 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.000287/0.7617, allocations: 131.8 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.7618, allocations: 70.86 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7619, allocations: 1.406 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.578e-05/0.7619, allocations: 22.86 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.7622, allocations: 20.97 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.7628, allocations: 318.1 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.7633, allocations: 0.7315 MB / 1.227 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.7634, allocations: 55.66 kB / 1.227 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.7635, allocations: 19.22 kB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.7635, allocations: 0 / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.005848/0.7693, allocations: 2.404 MB / 1.229 GB, free: 11.43 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.777972288895398]