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.001321/0.001321, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001434/0.001434, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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.578/1.578, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.011/3.011, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",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.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9721/0.9742, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002554/0.9768, allocations: 1.507 MB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.9781, allocations: 1.15 MB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.9782, allocations: 10.31 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.9784, allocations: 17.81 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.9786, allocations: 40.89 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.9788, allocations: 71.22 kB / 1.325 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.979, allocations: 144.6 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.9792, allocations: 54.91 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.9793, allocations: 84.72 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.9795, allocations: 55.28 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.9795, allocations: 10.31 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.9796, allocations: 28.55 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.9797, allocations: 48.3 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.9798, allocations: 80.41 kB / 1.325 GB, free: 22.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.98, allocations: 200.5 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.98, allocations: 0 / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/0.98, allocations: 0 / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.98, allocations: 6.938 kB / 1.325 GB, free: 22.82 MB / 1.061 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.0006532/0.9807, allocations: 494.1 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.9807, allocations: 18.3 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.9808, allocations: 16.66 kB / 1.326 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.9811, allocations: 260.4 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.9812, allocations: 123.7 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.9812, allocations: 3.312 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.9815, allocations: 156.9 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.9815, allocations: 0 / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.9816, allocations: 4 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.9816, allocations: 11.75 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.9817, allocations: 38.33 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.9827, allocations: 468.8 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.515e-05/0.9827, allocations: 29.64 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.9828, allocations: 28.23 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.9828, allocations: 9.766 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.9828, allocations: 33.12 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.9828, allocations: 0 / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0003065/0.9831, allocations: 107.7 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.9832, allocations: 52.72 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.9834, allocations: 214.9 kB / 1.327 GB, free: 21.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.9834, allocations: 26.73 kB / 1.327 GB, free: 21.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.9835, allocations: 135.3 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.9835, allocations: 23.23 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.9836, allocations: 28.25 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/0.9836, allocations: 330.1 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.9837, allocations: 29.39 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.9838, allocations: 101.8 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.9839, allocations: 140.1 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9839, allocations: 4.5 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000245/0.9842, allocations: 154.6 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9842, allocations: 10.94 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9842, allocations: 2.156 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9842, allocations: 3.656 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.9843, allocations: 22.36 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9843, allocations: 11.97 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.9844, allocations: 12.14 kB / 1.328 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.9844, allocations: 14.47 kB / 1.328 GB, free: 20.38 MB / 1.061 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.0001/0.9845, allocations: 143.5 kB / 1.328 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.9846, allocations: 15.38 kB / 1.328 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.9848, allocations: 120.3 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.9848, allocations: 1.188 kB / 1.329 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9848, allocations: 3.938 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9848, allocations: 0.625 kB / 1.329 GB, free: 20.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.985, allocations: 240.2 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.985, allocations: 0 / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.9851, allocations: 15 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9851, allocations: 0.625 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.9851, allocations: 1.312 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9851, allocations: 0.5625 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9851, allocations: 5.062 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.9853, allocations: 190.9 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.9853, allocations: 101 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.9853, allocations: 0 / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.9856, allocations: 26.23 kB / 1.329 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.9856, allocations: 6.938 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.9857, allocations: 12.97 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001481/0.9858, allocations: 164.5 kB / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9858, allocations: 0 / 1.329 GB, free: 19.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000318/0.9861, allocations: 27.48 kB / 1.329 GB, free: 19.56 MB / 1.061 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.0002652/0.9864, allocations: 133.7 kB / 1.329 GB, free: 19.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.9866, allocations: 68.38 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9866, allocations: 0.9688 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.617e-05/0.9866, allocations: 29.97 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.9869, allocations: 24.12 kB / 1.33 GB, free: 19.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.9875, allocations: 316.4 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.9877, allocations: 0.732 MB / 1.331 GB, free: 18.49 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.9877, allocations: 24.81 kB / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of SimCode: time 7.12e-07/0.9877, allocations: 0 / 1.331 GB, free: 18.48 MB / 1.061 GB Notification: Performance of Templates: time 0.006199/0.9939, allocations: 2.643 MB / 1.333 GB, free: 18.21 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.587851464995765]