Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00113/0.00113, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001138/0.001138, allocations: 181.9 kB / 23.21 MB, free: 1.352 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 0.851/0.851, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.624/1.624, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.414e-05, allocations: 2.281 kB / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00195/0.001974, allocations: 1.506 MB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.003084, allocations: 1.212 MB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.003137, allocations: 4 kB / 0.9544 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.003339, allocations: 19.8 kB / 0.9544 GB, free: 240 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.003539, allocations: 39.72 kB / 0.9544 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.003687, allocations: 66.95 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.003868, allocations: 147.6 kB / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.003993, allocations: 29.23 kB / 0.9546 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.004101, allocations: 107.8 kB / 0.9548 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004212, allocations: 51.2 kB / 0.9548 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.004239, allocations: 12 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 5.972e-05/0.004299, allocations: 31.92 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.004365, allocations: 51.81 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.004412, allocations: 47.89 kB / 0.9549 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.004642, allocations: 215.3 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004644, allocations: 3.938 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.583e-06/0.004646, allocations: 4 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00465, allocations: 3.938 kB / 0.9552 GB, free: 15.44 MB / 0.9167 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.0005399/0.00519, allocations: 417.3 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.00523, allocations: 12.03 kB / 0.9556 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.005293, allocations: 28.78 kB / 0.9556 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.005519, allocations: 195.3 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.005652, allocations: 218.2 kB / 0.956 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.005665, allocations: 8.375 kB / 0.956 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.005918, allocations: 260.9 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.005925, allocations: 192 / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.005943, allocations: 8.125 kB / 0.9562 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.005972, allocations: 11.98 kB / 0.9563 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.006034, allocations: 43.97 kB / 0.9563 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.006618, allocations: 376.1 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.006677, allocations: 34.56 kB / 0.9567 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.006707, allocations: 20.84 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.006732, allocations: 8 kB / 0.9567 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.006753, allocations: 34.56 kB / 0.9568 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.006754, allocations: 4 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002176/0.006971, allocations: 105.5 kB / 0.9569 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.006999, allocations: 51.41 kB / 0.9569 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.00715, allocations: 215.8 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.00717, allocations: 29.7 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.00723, allocations: 128.1 kB / 0.9573 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.007252, allocations: 31.89 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.007286, allocations: 33.7 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.007367, allocations: 330.8 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.007403, allocations: 27.98 kB / 0.9577 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.007474, allocations: 102.2 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.007586, allocations: 142.1 kB / 0.9579 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007588, allocations: 0 / 0.9579 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.007736, allocations: 153.3 kB / 0.958 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007749, allocations: 8.375 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007755, allocations: 4.312 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.007768, allocations: 4 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.007837, allocations: 27.92 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.007843, allocations: 4 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.007878, allocations: 11.92 kB / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.007889, allocations: 11.98 kB / 0.9581 GB, free: 12.09 MB / 0.9167 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 8.501e-05/0.007974, allocations: 149.6 kB / 0.9583 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.008005, allocations: 23.84 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.008147, allocations: 110.5 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.008148, allocations: 0 / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.008152, allocations: 4 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008155, allocations: 4 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.008352, allocations: 161.1 kB / 0.9585 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.008354, allocations: 4 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.008381, allocations: 15.98 kB / 0.9586 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.008383, allocations: 3.938 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008389, allocations: 3.938 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00839, allocations: 0 / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008391, allocations: 4 kB / 0.9586 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.008514, allocations: 191.4 kB / 0.9588 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.17e-05/0.008525, allocations: 11.91 kB / 0.9588 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.008538, allocations: 8 kB / 0.9588 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.008645, allocations: 15.97 kB / 0.9588 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.008663, allocations: 11.98 kB / 0.9588 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.008677, allocations: 11.98 kB / 0.9588 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.769e-05/0.008764, allocations: 161.5 kB / 0.959 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008764, allocations: 0 / 0.959 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001965/0.008961, allocations: 27.95 kB / 0.959 GB, free: 11.12 MB / 0.9167 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.0001814/0.009142, allocations: 133.1 kB / 0.9591 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001188/0.009261, allocations: 63.91 kB / 0.9592 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009263, allocations: 0 / 0.9592 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.009288, allocations: 28.67 kB / 0.9592 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.009504, allocations: 22.75 kB / 0.9592 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.009881, allocations: 323.7 kB / 0.9595 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.518e-05/0.009956, allocations: 114.2 kB / 0.9597 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.009987, allocations: 16.5 kB / 0.9597 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.009988, allocations: 0 / 0.9597 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.002931/0.01292, allocations: 2.701 MB / 0.9623 GB, free: 7.715 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] Variables in the result:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] [Calling sys.exit(0), Time elapsed: 6.553689293563366]