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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.182/3.182, allocations: 497.2 MB / 0.7845 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 68.67 kB / 1.139 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3203, allocations: 173.9 MB / 1.309 GB, free: 16 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002772/0.3231, allocations: 1.492 MB / 1.311 GB, free: 14.49 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3247, allocations: 1.211 MB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.3248, allocations: 0 / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3249, allocations: 15.86 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.3251, allocations: 39.78 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.3253, allocations: 59.36 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3255, allocations: 151.6 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.3257, allocations: 41.03 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.3258, allocations: 91.69 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.326, allocations: 55.7 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.372e-05/0.326, allocations: 15.94 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.3261, allocations: 27.98 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.3262, allocations: 47.88 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.672e-05/0.3262, allocations: 71.59 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3265, allocations: 203.2 kB / 1.313 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3265, allocations: 0 / 1.313 GB, free: 12.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3265, allocations: 0 / 1.313 GB, free: 12.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3265, allocations: 0 / 1.313 GB, free: 12.46 MB / 1.014 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.0007247/0.3273, allocations: 0.4962 MB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3273, allocations: 8.625 kB / 1.313 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.3274, allocations: 16.84 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.3277, allocations: 257.6 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.3279, allocations: 115.4 kB / 1.314 GB, free: 11.47 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3279, allocations: 8.375 kB / 1.314 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.3283, allocations: 165.6 kB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3283, allocations: 0 / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3283, allocations: 4 kB / 1.314 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.3283, allocations: 11.98 kB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.646e-05/0.3284, allocations: 39.97 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3295, allocations: 464.4 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.528e-05/0.3296, allocations: 34.52 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3296, allocations: 20.84 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3297, allocations: 16.12 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3297, allocations: 34.5 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3297, allocations: 4 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0002682/0.33, allocations: 101.6 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.33, allocations: 55.41 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.3302, allocations: 212.8 kB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3303, allocations: 29.7 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.3303, allocations: 124.1 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.3304, allocations: 31.88 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.3304, allocations: 25.7 kB / 1.315 GB, free: 9.992 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3306, allocations: 330.8 kB / 1.315 GB, free: 9.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.3306, allocations: 27.97 kB / 1.315 GB, free: 9.633 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3307, allocations: 102.2 kB / 1.315 GB, free: 9.496 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3309, allocations: 146.2 kB / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3309, allocations: 0 / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002515/0.3312, allocations: 153.6 kB / 1.316 GB, free: 9.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3312, allocations: 8 kB / 1.316 GB, free: 9.152 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3312, allocations: 7.938 kB / 1.316 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3312, allocations: 4 kB / 1.316 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3313, allocations: 27.91 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.3314, allocations: 7.938 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.3314, allocations: 11.89 kB / 1.316 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.3315, allocations: 12 kB / 1.316 GB, free: 9.082 MB / 1.014 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.0001496/0.3316, allocations: 141.8 kB / 1.316 GB, free: 8.934 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.3317, allocations: 23.84 kB / 1.316 GB, free: 8.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3319, allocations: 114.7 kB / 1.316 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3319, allocations: 4 kB / 1.316 GB, free: 8.793 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3319, allocations: 7.875 kB / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3319, allocations: 0 / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3322, allocations: 233.5 kB / 1.316 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3322, allocations: 0 / 1.316 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.3323, allocations: 12 kB / 1.316 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3323, allocations: 4 kB / 1.316 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3323, allocations: 0 / 1.316 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3323, allocations: 4 kB / 1.316 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3323, allocations: 7.938 kB / 1.316 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3325, allocations: 187.4 kB / 1.316 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.3326, allocations: 93 kB / 1.316 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3326, allocations: 0 / 1.316 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3329, allocations: 15.98 kB / 1.316 GB, free: 8.156 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3329, allocations: 23.86 kB / 1.316 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.333, allocations: 7.984 kB / 1.317 GB, free: 8.125 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001719/0.3331, allocations: 164.5 kB / 1.317 GB, free: 7.965 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3331, allocations: 0 / 1.317 GB, free: 7.965 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00032/0.3335, allocations: 27.94 kB / 1.317 GB, free: 7.938 MB / 1.014 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.000345/0.3338, allocations: 128 kB / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.334, allocations: 67.84 kB / 1.317 GB, free: 7.738 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.334, allocations: 0 / 1.317 GB, free: 7.738 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.3341, allocations: 23.98 kB / 1.317 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.3344, allocations: 27.11 kB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.335, allocations: 310.5 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3353, allocations: 0.7275 MB / 1.318 GB, free: 6.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3354, allocations: 53.09 kB / 1.318 GB, free: 6.566 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.3355, allocations: 15.44 kB / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.3355, allocations: 0 / 1.318 GB, free: 6.551 MB / 1.014 GB Notification: Performance of Templates: time 0.00565/0.3411, allocations: 2.423 MB / 1.32 GB, free: 4.16 MB / 1.014 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 -s gbode -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_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.614928884897381]