Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.001463/0.001463, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0019/0.0019, allocations: 181 kB / 23.36 MB, free: 1.129 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.061/1.061, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.481/2.481, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.797e-05, allocations: 9.906 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002067/0.002085, allocations: 1.592 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003235, allocations: 1.27 MB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.003292, allocations: 3.938 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.003461, allocations: 15.86 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.003626, allocations: 43.72 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.003748, allocations: 59.91 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.004158, allocations: 147.5 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004263, allocations: 49.78 kB / 0.8417 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.004361, allocations: 103.8 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.004463, allocations: 43.83 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.004488, allocations: 12 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.825e-05/0.004547, allocations: 27.98 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.004596, allocations: 43.83 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.004641, allocations: 51.89 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004825, allocations: 179.4 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004826, allocations: 0 / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004827, allocations: 0 / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.00483, allocations: 0 / 0.8421 GB, free: 10.57 MB / 0.8073 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.0003864/0.005217, allocations: 387.9 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.005253, allocations: 8.031 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.005308, allocations: 20.92 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.005574, allocations: 181.2 kB / 0.8427 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.005693, allocations: 222.2 kB / 0.8429 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.005713, allocations: 8.375 kB / 0.8429 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.005887, allocations: 200.5 kB / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005894, allocations: 192 / 0.8431 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.005909, allocations: 8.125 kB / 0.8431 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.005933, allocations: 11.94 kB / 0.8431 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.005959, allocations: 19.97 kB / 0.8432 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.006367, allocations: 273.6 kB / 0.8434 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.006407, allocations: 26.52 kB / 0.8434 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.006427, allocations: 17 kB / 0.8435 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.006453, allocations: 4 kB / 0.8435 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.006477, allocations: 38.55 kB / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.006478, allocations: 0 / 0.8435 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001252/0.006603, allocations: 61.61 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.006626, allocations: 59.41 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.00673, allocations: 191.6 kB / 0.8438 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.006749, allocations: 33.7 kB / 0.8438 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.006789, allocations: 104 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.006811, allocations: 35.72 kB / 0.844 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.006841, allocations: 25.7 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.006914, allocations: 330.8 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.006928, allocations: 4 kB / 0.8443 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.647e-05/0.006975, allocations: 78.3 kB / 0.8444 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.426e-05/0.007059, allocations: 112.9 kB / 0.8445 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.007062, allocations: 3.938 kB / 0.8445 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.934e-05/0.007161, allocations: 101.4 kB / 0.8446 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.007172, allocations: 8 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007178, allocations: 4 kB / 0.8446 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.00719, allocations: 4 kB / 0.8446 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/0.007254, allocations: 27.92 kB / 0.8446 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.007259, allocations: 4 kB / 0.8446 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.007297, allocations: 11.89 kB / 0.8446 GB, free: 7.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007305, allocations: 4.375 kB / 0.8447 GB, free: 7.688 MB / 0.8073 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 6.183e-05/0.007367, allocations: 132.5 kB / 0.8448 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.007397, allocations: 7.984 kB / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.007504, allocations: 84.62 kB / 0.8449 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007506, allocations: 0 / 0.8449 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.007507, allocations: 0 / 0.8449 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007509, allocations: 0 / 0.8449 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.007613, allocations: 109.7 kB / 0.845 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.007614, allocations: 0 / 0.845 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.007642, allocations: 15.92 kB / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.007645, allocations: 7.938 kB / 0.845 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.007649, allocations: 7.938 kB / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.00765, allocations: 0 / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007651, allocations: 0 / 0.845 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.118e-05/0.007732, allocations: 155.5 kB / 0.8451 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.007745, allocations: 19.83 kB / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007755, allocations: 0 / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.007843, allocations: 11.98 kB / 0.8452 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.007858, allocations: 7.984 kB / 0.8452 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.007872, allocations: 7.984 kB / 0.8452 GB, free: 7.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.00791, allocations: 49.8 kB / 0.8452 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00791, allocations: 7.938 kB / 0.8452 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001673/0.008077, allocations: 27.94 kB / 0.8453 GB, free: 7.004 MB / 0.8073 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.0001541/0.008231, allocations: 107.3 kB / 0.8454 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.008311, allocations: 49.73 kB / 0.8454 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.008313, allocations: 0 / 0.8454 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.008341, allocations: 24.84 kB / 0.8454 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.008506, allocations: 32.05 kB / 0.8455 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.008794, allocations: 255.8 kB / 0.8457 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.008834, allocations: 75.19 kB / 0.8458 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.906e-05/0.008893, allocations: 45.64 kB / 0.8458 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.009078, allocations: 115.2 kB / 0.8459 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.009079, allocations: 4.188 kB / 0.846 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of Templates: time 0.004147/0.01323, allocations: 2.708 MB / 0.8486 GB, free: 3.605 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.509646550286561]