Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001339/0.001339, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009908/0.0009908, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 0.9652/0.9652, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.963e-05, allocations: 5.406 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002234/0.002254, allocations: 1.536 MB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003484, allocations: 1.269 MB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.003544, allocations: 7.938 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.003723, allocations: 14.11 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.004066, allocations: 48.2 kB / 0.7628 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.004196, allocations: 51.91 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.00436, allocations: 153.2 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.004477, allocations: 37.88 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.996e-05/0.004577, allocations: 103.8 kB / 0.7631 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.004686, allocations: 51.81 kB / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.004713, allocations: 13.25 kB / 0.7632 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.004768, allocations: 24 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.004827, allocations: 47.83 kB / 0.7633 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.004876, allocations: 53.12 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.005061, allocations: 179.3 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005063, allocations: 0 / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005063, allocations: 0.9062 kB / 0.7635 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.005067, allocations: 0 / 0.7635 GB, free: 3.09 MB / 0.7136 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.0004225/0.005489, allocations: 392.6 kB / 0.7638 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.005518, allocations: 8.031 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.005556, allocations: 14.58 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.005741, allocations: 182.3 kB / 0.764 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.005847, allocations: 222.1 kB / 0.7643 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.00587, allocations: 8.375 kB / 0.7643 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.006039, allocations: 192.5 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.006047, allocations: 1.375 kB / 0.7644 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.006064, allocations: 12.11 kB / 0.7645 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.006089, allocations: 12 kB / 0.7645 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.006111, allocations: 12.67 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.006533, allocations: 275.1 kB / 0.7647 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.006578, allocations: 31.38 kB / 0.7648 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.006597, allocations: 16.8 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.006618, allocations: 8.531 kB / 0.7648 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.006637, allocations: 30.56 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.006638, allocations: 3.281 kB / 0.7648 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001202/0.006758, allocations: 65.8 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.006786, allocations: 59.41 kB / 0.765 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.006891, allocations: 183.5 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.006912, allocations: 33.7 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.006951, allocations: 104 kB / 0.7653 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.006971, allocations: 31.91 kB / 0.7653 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.006999, allocations: 21.72 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/0.007079, allocations: 333.9 kB / 0.7656 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.007094, allocations: 7.938 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.007141, allocations: 78.28 kB / 0.7657 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.007221, allocations: 113.8 kB / 0.7658 GB, free: 412 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.007227, allocations: 15.86 kB / 0.7658 GB, free: 396 kB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.845e-05/0.007326, allocations: 96.16 kB / 0.7659 GB, free: 296 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.007338, allocations: 8 kB / 0.7659 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.007342, allocations: 0 / 0.7659 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.007355, allocations: 4 kB / 0.7659 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.007418, allocations: 27.98 kB / 0.766 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.007423, allocations: 7.938 kB / 0.766 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.007457, allocations: 11.89 kB / 0.766 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007465, allocations: 4 kB / 0.766 GB, free: 232 kB / 0.7136 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.502e-05/0.00753, allocations: 122.8 kB / 0.7661 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.007554, allocations: 11.98 kB / 0.7661 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.007927, allocations: 95.2 kB / 0.7662 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.00793, allocations: 4 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.007931, allocations: 0 / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007934, allocations: 1.281 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.00804, allocations: 101.8 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008041, allocations: 0 / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.008065, allocations: 12.66 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.008067, allocations: 3.938 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-06/0.008071, allocations: 0.8438 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.008071, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008072, allocations: 1.234 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.008157, allocations: 163.4 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.00817, allocations: 15.84 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.00818, allocations: 0.9062 kB / 0.7665 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.008263, allocations: 11.98 kB / 0.7665 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.008275, allocations: 8.594 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.008289, allocations: 11.97 kB / 0.7665 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.008332, allocations: 60.22 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008332, allocations: 0 / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001638/0.008496, allocations: 27.94 kB / 0.7666 GB, free: 15.54 MB / 0.7292 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.0001638/0.00866, allocations: 116.1 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.008739, allocations: 46.88 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.008742, allocations: 0 / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.008762, allocations: 33.67 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.008922, allocations: 28.55 kB / 0.7668 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.009216, allocations: 262.3 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.009259, allocations: 79.31 kB / 0.7672 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.141e-05/0.009311, allocations: 28.11 kB / 0.7672 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.009488, allocations: 107.2 kB / 0.7673 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of SimCode: time 4.5e-07/0.009488, allocations: 0 / 0.7673 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.003874/0.01336, allocations: 2.749 MB / 0.77 GB, free: 12.25 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1228832714259624]