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.001602/0.001602, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00171/0.00171, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.25 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.536/2.536, 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.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.002064/0.002064, allocations: 63.89 kB / 1.061 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7579/0.7599, allocations: 160.8 MB / 1.218 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002959/0.7629, allocations: 1.504 MB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.7648, allocations: 1.202 MB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.539e-05/0.7649, allocations: 5.031 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.7651, allocations: 23.97 kB / 1.221 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.7653, allocations: 32.36 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.7655, allocations: 68.09 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.7657, allocations: 148.6 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7658, allocations: 36.72 kB / 1.221 GB, free: 1.52 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.7659, allocations: 85.66 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.7661, allocations: 56.69 kB / 1.222 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.7661, allocations: 11.75 kB / 1.222 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.7662, allocations: 23.56 kB / 1.222 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.7663, allocations: 50.83 kB / 1.222 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.7664, allocations: 82.59 kB / 1.222 GB, free: 1.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.7667, allocations: 197.6 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7667, allocations: 1.062 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7667, allocations: 0 / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.7667, allocations: 0 / 1.222 GB, free: 1.215 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.0008099/0.7675, allocations: 499.1 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7675, allocations: 13.52 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.7676, allocations: 21.33 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.768, allocations: 262.5 kB / 1.223 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.7681, allocations: 117.1 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.7682, allocations: 8.375 kB / 1.223 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.7685, allocations: 158 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7685, allocations: 0 / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.7685, allocations: 1.125 kB / 1.223 GB, free: 252 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.7686, allocations: 11.47 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.633e-05/0.7687, allocations: 43.78 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.7698, allocations: 459.2 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.7699, allocations: 41.38 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.7699, allocations: 30.28 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.7699, allocations: 6.406 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.77, allocations: 32.78 kB / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.77, allocations: 0 / 1.224 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000294/0.7703, allocations: 110.3 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.7703, allocations: 56.41 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.7706, allocations: 219 kB / 1.224 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.7706, allocations: 26.8 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.7707, allocations: 132.7 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.7707, allocations: 23.16 kB / 1.224 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.7708, allocations: 31.83 kB / 1.224 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.771, allocations: 327.6 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.771, allocations: 22.95 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.7712, allocations: 107.1 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.7714, allocations: 140.8 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.7714, allocations: 0.875 kB / 1.225 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002771/0.7716, allocations: 153.9 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7717, allocations: 6.844 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7717, allocations: 2.969 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7717, allocations: 3.531 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7718, allocations: 22.83 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.7718, allocations: 15.44 kB / 1.225 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.7719, allocations: 16.36 kB / 1.225 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.7719, allocations: 6.406 kB / 1.225 GB, free: 14.5 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.0001665/0.7721, allocations: 151.4 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.7721, allocations: 26.34 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.7724, allocations: 111.9 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7724, allocations: 1.094 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.7724, allocations: 5 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7724, allocations: 0 / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.7728, allocations: 237.7 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7728, allocations: 0 / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.7728, allocations: 15.58 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.7728, allocations: 1 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.7728, allocations: 1.188 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.7728, allocations: 1.031 kB / 1.225 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7728, allocations: 3.938 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.7731, allocations: 189.4 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.7732, allocations: 97.17 kB / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.7732, allocations: 0 / 1.226 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.7734, allocations: 19.34 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.7735, allocations: 11.2 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.7735, allocations: 13.45 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001875/0.7737, allocations: 160.4 kB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7737, allocations: 0 / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003147/0.774, allocations: 31.98 kB / 1.226 GB, free: 13.57 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.0002977/0.7743, allocations: 127.1 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001982/0.7745, allocations: 67.75 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7745, allocations: 1.281 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.7745, allocations: 31.3 kB / 1.226 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.7749, allocations: 18.39 kB / 1.226 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.7755, allocations: 304.5 kB / 1.226 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.7759, allocations: 0.732 MB / 1.227 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.776, allocations: 55.19 kB / 1.227 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.7761, allocations: 15.72 kB / 1.227 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.7761, allocations: 0 / 1.227 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.006187/0.7823, allocations: 2.446 MB / 1.23 GB, free: 11.2 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.482421510852873]