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.001831/0.001831, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.002208/0.002208, allocations: 163.5 kB / 22.46 MB, free: 5.359 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.76/1.76, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.722/2.722, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.272e-06/1.272e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.032e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003009/0.003039, allocations: 1.506 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.004896, allocations: 1.208 MB / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.004968, allocations: 3.938 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.005186, allocations: 19.8 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.005428, allocations: 35.78 kB / 0.9537 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.005646, allocations: 67.83 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.005894, allocations: 151.5 kB / 0.9539 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.00603, allocations: 33.28 kB / 0.9539 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.006198, allocations: 103.7 kB / 0.954 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.006371, allocations: 51.81 kB / 0.954 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.006422, allocations: 8 kB / 0.954 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.006512, allocations: 27.94 kB / 0.9541 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.006605, allocations: 47.83 kB / 0.9541 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.006697, allocations: 55.86 kB / 0.9542 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003495/0.007046, allocations: 215.3 kB / 0.9544 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007051, allocations: 4 kB / 0.9544 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.007052, allocations: 4 kB / 0.9544 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.007057, allocations: 0 / 0.9544 GB, free: 8.043 MB / 0.8575 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.0007628/0.00782, allocations: 417.3 kB / 0.9548 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.007857, allocations: 8.031 kB / 0.9548 GB, free: 7.598 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.241e-05/0.007939, allocations: 20.84 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.008293, allocations: 202.9 kB / 0.955 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.008511, allocations: 218.2 kB / 0.9552 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.008533, allocations: 8.375 kB / 0.9552 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.008987, allocations: 263.3 kB / 0.9555 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.008997, allocations: 192 / 0.9555 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.009026, allocations: 12.06 kB / 0.9555 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.009054, allocations: 11.98 kB / 0.9555 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.337e-05/0.009148, allocations: 39.92 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.01024, allocations: 384.1 kB / 0.9559 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.12e-05/0.01033, allocations: 38.5 kB / 0.9559 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/0.01037, allocations: 20.84 kB / 0.956 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.0104, allocations: 8 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.01044, allocations: 38.5 kB / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.01044, allocations: 0 / 0.956 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0003001/0.01074, allocations: 105.6 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.01078, allocations: 51.41 kB / 0.9562 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.01102, allocations: 219.8 kB / 0.9564 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.01106, allocations: 25.7 kB / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.334e-05/0.01115, allocations: 132.1 kB / 0.9565 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.01118, allocations: 27.78 kB / 0.9565 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.01123, allocations: 29.7 kB / 0.9566 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.01138, allocations: 330.8 kB / 0.9569 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.01145, allocations: 23.98 kB / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.01157, allocations: 98.28 kB / 0.957 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.01177, allocations: 146.1 kB / 0.9571 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01177, allocations: 0 / 0.9571 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002759/0.01205, allocations: 153.3 kB / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.01207, allocations: 8 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01207, allocations: 4 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01209, allocations: 4 kB / 0.9573 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.0122, allocations: 23.98 kB / 0.9573 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.01222, allocations: 7.938 kB / 0.9573 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.01229, allocations: 7.953 kB / 0.9573 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.0123, allocations: 12 kB / 0.9573 GB, free: 4.691 MB / 0.8575 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.0001443/0.01245, allocations: 150 kB / 0.9575 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.01251, allocations: 15.91 kB / 0.9575 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.01276, allocations: 125 kB / 0.9576 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01276, allocations: 0 / 0.9576 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.01276, allocations: 7.938 kB / 0.9576 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01277, allocations: 0 / 0.9576 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.01298, allocations: 157.2 kB / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01299, allocations: 0 / 0.9578 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.01304, allocations: 12 kB / 0.9578 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01304, allocations: 0 / 0.9578 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01306, allocations: 11.98 kB / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01306, allocations: 0 / 0.9578 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01306, allocations: 4 kB / 0.9578 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.01329, allocations: 195.2 kB / 0.958 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.01332, allocations: 19.83 kB / 0.958 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01334, allocations: 4 kB / 0.958 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.01361, allocations: 19.97 kB / 0.958 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.01364, allocations: 4 kB / 0.958 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.01367, allocations: 15.97 kB / 0.9581 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001623/0.01383, allocations: 161.5 kB / 0.9582 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01383, allocations: 4 kB / 0.9582 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003267/0.01416, allocations: 31.95 kB / 0.9582 GB, free: 3.723 MB / 0.8575 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.0002709/0.01443, allocations: 120 kB / 0.9584 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.01461, allocations: 76.2 kB / 0.9584 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.01462, allocations: 0 / 0.9584 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.01466, allocations: 27.92 kB / 0.9585 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.015, allocations: 19.94 kB / 0.9585 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.01557, allocations: 286.1 kB / 0.9588 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.0157, allocations: 126.6 kB / 0.9589 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.01582, allocations: 56.31 kB / 0.9589 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.01586, allocations: 16.5 kB / 0.9589 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.01587, allocations: 0 / 0.9589 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of Templates: time 0.006274/0.02214, allocations: 2.451 MB / 0.9613 GB, free: 0.5664 MB / 0.8575 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.029297411441803]