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.001303/0.001303, allocations: 114.5 kB / 17.08 MB, free: 6.012 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.00137/0.00137, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.421/1.421, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.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 2.925/2.925, allocations: 489.3 MB / 0.7687 GB, free: 3.801 MB / 0.6075 GB " [Timeout remaining time 176] 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.002254/0.002254, allocations: 63.89 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093/1.095, allocations: 163.8 MB / 1.263 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002832/1.098, allocations: 1.49 MB / 1.264 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001451/1.099, allocations: 1.105 MB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/1.099, allocations: 0.9062 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/1.1, allocations: 22.58 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/1.1, allocations: 42.02 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/1.1, allocations: 56.56 kB / 1.265 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/1.1, allocations: 147.8 kB / 1.265 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/1.1, allocations: 60.39 kB / 1.265 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/1.101, allocations: 83.53 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/1.101, allocations: 56.44 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/1.101, allocations: 11.25 kB / 1.266 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.7e-05/1.101, allocations: 24.47 kB / 1.266 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/1.101, allocations: 55.28 kB / 1.266 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/1.101, allocations: 74.02 kB / 1.266 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/1.101, allocations: 197.8 kB / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.101, allocations: 0 / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.101, allocations: 0 / 1.266 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.651e-06/1.101, allocations: 0.875 kB / 1.266 GB, free: 6.02 MB / 0.9981 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.0006386/1.102, allocations: 0.4939 MB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.102, allocations: 9.344 kB / 1.266 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.165e-05/1.102, allocations: 18.16 kB / 1.266 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/1.103, allocations: 263.9 kB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.103, allocations: 117.1 kB / 1.267 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/1.103, allocations: 11.83 kB / 1.267 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/1.103, allocations: 162.2 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.103, allocations: 0 / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/1.103, allocations: 0.6562 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/1.103, allocations: 21.05 kB / 1.267 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.211e-05/1.103, allocations: 43.53 kB / 1.267 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/1.104, allocations: 459.2 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/1.104, allocations: 37.36 kB / 1.267 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/1.104, allocations: 22.22 kB / 1.267 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/1.104, allocations: 7.875 kB / 1.267 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/1.105, allocations: 36.67 kB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/1.105, allocations: 0.8438 kB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000279/1.105, allocations: 118.3 kB / 1.268 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/1.105, allocations: 52.95 kB / 1.268 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/1.105, allocations: 212.7 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/1.105, allocations: 31.2 kB / 1.268 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/1.105, allocations: 125.6 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/1.105, allocations: 26.17 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/1.105, allocations: 30.73 kB / 1.268 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.733e-05/1.105, allocations: 329 kB / 1.268 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/1.105, allocations: 27 kB / 1.268 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.83e-05/1.105, allocations: 102.6 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/1.106, allocations: 144.5 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.106, allocations: 2.438 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002424/1.106, allocations: 154.3 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.106, allocations: 6.25 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.106, allocations: 3.281 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.106, allocations: 3.281 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/1.106, allocations: 26.27 kB / 1.269 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.106, allocations: 8.922 kB / 1.269 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.784e-05/1.106, allocations: 7.359 kB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/1.106, allocations: 7.453 kB / 1.269 GB, free: 3.562 MB / 0.9981 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.0001066/1.106, allocations: 153.9 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/1.106, allocations: 18.88 kB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/1.107, allocations: 115.7 kB / 1.269 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.107, allocations: 1.344 kB / 1.269 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.107, allocations: 3.938 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.107, allocations: 1.312 kB / 1.269 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/1.107, allocations: 232.1 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.107, allocations: 0.7812 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/1.107, allocations: 13.48 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.107, allocations: 0.75 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.107, allocations: 2.062 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.107, allocations: 4.781 kB / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.107, allocations: 9.438 kB / 1.269 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/1.107, allocations: 187.9 kB / 1.27 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/1.107, allocations: 94.59 kB / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/1.107, allocations: 4.812 kB / 1.27 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/1.107, allocations: 18.5 kB / 1.27 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/1.107, allocations: 12.14 kB / 1.27 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/1.108, allocations: 19.11 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001412/1.108, allocations: 155.3 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.108, allocations: 0.8438 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003015/1.108, allocations: 28.91 kB / 1.27 GB, free: 2.746 MB / 0.9981 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.0002469/1.108, allocations: 131.9 kB / 1.27 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000192/1.108, allocations: 74.75 kB / 1.27 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.108, allocations: 0.9062 kB / 1.27 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/1.108, allocations: 27.75 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/1.109, allocations: 15.12 kB / 1.27 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/1.109, allocations: 330.6 kB / 1.27 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.11, allocations: 0.7285 MB / 1.271 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/1.11, allocations: 18.84 kB / 1.271 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of SimCode: time 1.9e-07/1.11, allocations: 0 / 1.271 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of Templates: time 0.005279/1.115, allocations: 2.651 MB / 1.274 GB, free: 1.387 MB / 0.9981 GB " [Timeout remaining time 299] 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_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] "" 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.637728661997244]