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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006572/0.006572, allocations: 103.3 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 193.3 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.497/2.497, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8993/0.9007, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003346/0.9041, allocations: 1.487 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.9062, allocations: 1.097 MB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.9063, allocations: 0 / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.9066, allocations: 23.86 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.9069, allocations: 39.77 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.9071, allocations: 59.3 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.9074, allocations: 151.5 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.9075, allocations: 69.08 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.9077, allocations: 75.81 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.9079, allocations: 55.72 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.9079, allocations: 12 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.908, allocations: 23.98 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.9081, allocations: 51.77 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.9083, allocations: 83.56 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.9085, allocations: 195.2 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9086, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9086, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.9086, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 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.0008926/0.9095, allocations: 496.5 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9095, allocations: 12.02 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.9097, allocations: 16.75 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.9101, allocations: 263.8 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.9103, allocations: 123.3 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.9103, allocations: 8.359 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.9107, allocations: 161.5 kB / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9107, allocations: 0 / 1.212 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.9107, allocations: 4 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.118e-05/0.9108, allocations: 8 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.9109, allocations: 47.91 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.912, allocations: 452.3 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.503e-05/0.9121, allocations: 38.5 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.231e-05/0.9122, allocations: 32.84 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.9123, allocations: 8.141 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.9123, allocations: 30.56 kB / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.9123, allocations: 0 / 1.213 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0002985/0.9126, allocations: 101.6 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.9127, allocations: 59.33 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.9129, allocations: 219.6 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.913, allocations: 33.7 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.9131, allocations: 124.1 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.9131, allocations: 23.64 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/0.9132, allocations: 29.7 kB / 1.213 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9133, allocations: 326.8 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.9134, allocations: 27.98 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9135, allocations: 102.2 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.9137, allocations: 142.1 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.9137, allocations: 4 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002552/0.9139, allocations: 149.2 kB / 1.214 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.914, allocations: 8 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.914, allocations: 4 kB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.914, allocations: 0 / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.9141, allocations: 24.36 kB / 1.214 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.9141, allocations: 15.88 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.9142, allocations: 11.91 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.9142, allocations: 15.98 kB / 1.214 GB, free: 6.832 MB / 0.9356 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.0001379/0.9144, allocations: 137.8 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.9144, allocations: 19.8 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.9147, allocations: 117.2 kB / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9147, allocations: 0 / 1.214 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9147, allocations: 3.938 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9147, allocations: 8 kB / 1.214 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.9149, allocations: 233.5 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.9149, allocations: 3.938 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.078e-05/0.915, allocations: 15.98 kB / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.915, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.915, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.915, allocations: 0 / 1.215 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.915, allocations: 3.938 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.9152, allocations: 195.3 kB / 1.215 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.9153, allocations: 92.95 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.9153, allocations: 0 / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.9155, allocations: 23.97 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.9156, allocations: 7.938 kB / 1.215 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.9156, allocations: 11.97 kB / 1.215 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001384/0.9157, allocations: 161.5 kB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9157, allocations: 0 / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003335/0.9161, allocations: 31.91 kB / 1.215 GB, free: 5.691 MB / 0.9356 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.0002405/0.9163, allocations: 131.8 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.9165, allocations: 76.38 kB / 1.215 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9165, allocations: 4.188 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.9166, allocations: 27.92 kB / 1.215 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.9169, allocations: 16 kB / 1.215 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.9174, allocations: 291 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.9177, allocations: 0.7275 MB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.9178, allocations: 59.97 kB / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.9178, allocations: 19.38 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9179, allocations: 0 / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.005215/0.9231, allocations: 2.396 MB / 1.219 GB, free: 1.945 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches