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.001375/0.001375, allocations: 102.5 kB / 16.45 MB, free: 6.504 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.001389/0.001389, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.271/3.271, allocations: 0.4899 GB / 0.7915 GB, free: 33.48 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.002136/0.002136, allocations: 63.47 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002864/0.3541, allocations: 1.508 MB / 1.323 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3557, allocations: 1.148 MB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.3557, allocations: 0 / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.3559, allocations: 27.84 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.3561, allocations: 35.78 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.3563, allocations: 59.86 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.3565, allocations: 155.5 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3566, allocations: 53.02 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3567, allocations: 75.84 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.3569, allocations: 63.62 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.357, allocations: 8 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.357, allocations: 24 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.3571, allocations: 51.81 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.3572, allocations: 75.58 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3574, allocations: 199.3 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3574, allocations: 0 / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3574, allocations: 0 / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3575, allocations: 4 kB / 1.325 GB, free: 15.35 MB / 1.029 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.0007229/0.3582, allocations: 0.4984 MB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3582, allocations: 11.98 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.116e-05/0.3583, allocations: 16.84 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3586, allocations: 256 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.3587, allocations: 115.4 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3588, allocations: 4.375 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.3591, allocations: 181.5 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3591, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3591, allocations: 0 / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.3592, allocations: 8 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.3593, allocations: 43.97 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3603, allocations: 460.4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.3604, allocations: 38.56 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.3604, allocations: 16.86 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.3605, allocations: 12.12 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3605, allocations: 38.56 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.996e-06/0.3605, allocations: 7.984 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002763/0.3608, allocations: 105.7 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3608, allocations: 51.41 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.3611, allocations: 219.7 kB / 1.327 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.3611, allocations: 29.7 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.3612, allocations: 124 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3612, allocations: 27.92 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.3613, allocations: 29.72 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3614, allocations: 334.8 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.3614, allocations: 19.98 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.3616, allocations: 102.2 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3617, allocations: 142.1 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3617, allocations: 0 / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002432/0.362, allocations: 157.5 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.362, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.362, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.362, allocations: 4 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3621, allocations: 31.92 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3621, allocations: 7.938 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.3622, allocations: 11.89 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3622, allocations: 8 kB / 1.328 GB, free: 11.95 MB / 1.029 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.0001275/0.3623, allocations: 151.7 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/0.3624, allocations: 15.91 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.3626, allocations: 129.2 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3626, allocations: 0 / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3626, allocations: 3.938 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3626, allocations: 0 / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.3629, allocations: 225.6 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3629, allocations: 0 / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.3629, allocations: 19.94 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3629, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.363, allocations: 11.98 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.363, allocations: 0 / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.363, allocations: 3.938 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3632, allocations: 183.4 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.3632, allocations: 89.02 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.3632, allocations: 4 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3635, allocations: 19.97 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.3635, allocations: 11.94 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3635, allocations: 11.98 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001474/0.3637, allocations: 165.4 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3637, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003063/0.364, allocations: 35.89 kB / 1.329 GB, free: 10.8 MB / 1.029 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.0002685/0.3643, allocations: 130.1 kB / 1.329 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001671/0.3644, allocations: 67.89 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3644, allocations: 11.86 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.3645, allocations: 20 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3648, allocations: 25.33 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004911/0.3653, allocations: 290.7 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3656, allocations: 0.7314 MB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.3657, allocations: 52.36 kB / 1.33 GB, free: 9.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.3658, allocations: 23.42 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3658, allocations: 0 / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005311/0.3711, allocations: 2.402 MB / 1.332 GB, free: 7.051 MB / 1.029 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=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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.879092293325812]