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.00161/0.00161, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00152/0.00152, allocations: 222.3 kB / 22.99 MB, free: 4.914 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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 3.24/3.24, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",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.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_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.002194/0.002194, allocations: 66.86 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3264, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002816/0.3292, allocations: 1.508 MB / 1.366 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3309, allocations: 1.201 MB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.331, allocations: 7.875 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3311, allocations: 11.88 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.3313, allocations: 55.7 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3315, allocations: 55.91 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.3317, allocations: 143.6 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.3319, allocations: 37.22 kB / 1.368 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.332, allocations: 87.69 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.3321, allocations: 49.28 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.3322, allocations: 12 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.3323, allocations: 31.98 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.3324, allocations: 43.83 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.3325, allocations: 75.58 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.3327, allocations: 199.2 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3327, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3327, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3327, allocations: 0 / 1.368 GB, free: 10.07 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.0007/0.3334, allocations: 422.9 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3335, allocations: 8.031 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.3335, allocations: 20.8 kB / 1.368 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3339, allocations: 205.9 kB / 1.369 GB, free: 9.379 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.3341, allocations: 230.2 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.3341, allocations: 4.375 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004149/0.3345, allocations: 260.5 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3345, allocations: 3.938 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3346, allocations: 4 kB / 1.369 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.3346, allocations: 8 kB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.3347, allocations: 39.97 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3357, allocations: 380.1 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.427e-05/0.3358, allocations: 42.5 kB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.3359, allocations: 25 kB / 1.37 GB, free: 8.281 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3359, allocations: 7.984 kB / 1.37 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3359, allocations: 30.56 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.3359, allocations: 0 / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002912/0.3362, allocations: 101.6 kB / 1.37 GB, free: 8.129 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.3363, allocations: 59.41 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3365, allocations: 219.7 kB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.3365, allocations: 25.7 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.551e-05/0.3366, allocations: 124.2 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.3366, allocations: 27.8 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.3367, allocations: 33.66 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3368, allocations: 334.8 kB / 1.371 GB, free: 7.273 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.3369, allocations: 23.98 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.337, allocations: 102.3 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.3372, allocations: 142.1 kB / 1.371 GB, free: 6.938 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3372, allocations: 4 kB / 1.371 GB, free: 6.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002533/0.3375, allocations: 153.3 kB / 1.371 GB, free: 6.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3375, allocations: 4 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3375, allocations: 4 kB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3375, allocations: 4 kB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3376, allocations: 27.92 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3376, allocations: 8.312 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.3377, allocations: 23.83 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3377, allocations: 4 kB / 1.371 GB, free: 6.703 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.0001365/0.3378, allocations: 143.1 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.3379, allocations: 15.91 kB / 1.371 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002314/0.3381, allocations: 125.3 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3381, allocations: 0 / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3381, allocations: 0 / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3381, allocations: 3.938 kB / 1.371 GB, free: 6.406 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.3383, allocations: 157.3 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3383, allocations: 8 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.3384, allocations: 8 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.3384, allocations: 7.984 kB / 1.371 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3384, allocations: 3.984 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3384, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3384, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3386, allocations: 199.2 kB / 1.372 GB, free: 5.984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.3387, allocations: 15.91 kB / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.3387, allocations: 0 / 1.372 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3389, allocations: 19.97 kB / 1.372 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.3389, allocations: 8 kB / 1.372 GB, free: 5.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3389, allocations: 11.98 kB / 1.372 GB, free: 5.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001583/0.3391, allocations: 160.1 kB / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3391, allocations: 0 / 1.372 GB, free: 5.773 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003151/0.3394, allocations: 39.86 kB / 1.372 GB, free: 5.734 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.0002762/0.3397, allocations: 123.6 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3399, allocations: 75.81 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3399, allocations: 0 / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.3399, allocations: 31.92 kB / 1.372 GB, free: 5.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3402, allocations: 14.28 kB / 1.372 GB, free: 5.488 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.3408, allocations: 313.2 kB / 1.372 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.3409, allocations: 130 kB / 1.373 GB, free: 5.004 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.341, allocations: 15.44 kB / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.341, allocations: 0 / 1.373 GB, free: 4.988 MB / 1.061 GB Notification: Performance of Templates: time 0.004873/0.3458, allocations: 2.68 MB / 1.375 GB, free: 2.348 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.459433324169368]