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.0009707/0.0009707, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009927/0.0009927, allocations: 185 kB / 24.09 MB, free: 416 kB / 18.57 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 0.9721/0.9721, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.863/1.863, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0.6562 kB / 0.812 GB, free: 360 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.053e-05, allocations: 2.312 kB / 0.812 GB, free: 356 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002029/0.00205, allocations: 1.546 MB / 0.8135 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.003251, allocations: 1.254 MB / 0.8147 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.003328, allocations: 0 / 0.8147 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.003551, allocations: 27.78 kB / 0.8147 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.003748, allocations: 40.44 kB / 0.8148 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.003885, allocations: 57.05 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.004044, allocations: 157.9 kB / 0.815 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004165, allocations: 33.28 kB / 0.815 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.004267, allocations: 99.78 kB / 0.8151 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.004374, allocations: 51.88 kB / 0.8152 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.004402, allocations: 12 kB / 0.8152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.004461, allocations: 23.94 kB / 0.8152 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.004516, allocations: 48.64 kB / 0.8152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.004569, allocations: 55.81 kB / 0.8153 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004754, allocations: 176.5 kB / 0.8155 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.004756, allocations: 0 / 0.8155 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004757, allocations: 0 / 0.8155 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.004762, allocations: 1.531 kB / 0.8155 GB, free: 12.79 MB / 0.7292 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.0005477/0.00531, allocations: 0.5149 MB / 0.816 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.005354, allocations: 8.031 kB / 0.816 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.00541, allocations: 24.8 kB / 0.816 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.005617, allocations: 202.4 kB / 0.8162 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.005746, allocations: 222.2 kB / 0.8164 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.005767, allocations: 4.375 kB / 0.8164 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.005952, allocations: 186.5 kB / 0.8166 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005961, allocations: 192 / 0.8166 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.005976, allocations: 8.062 kB / 0.8166 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.006006, allocations: 15.98 kB / 0.8166 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.00603, allocations: 13.08 kB / 0.8166 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.00656, allocations: 378 kB / 0.817 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.006613, allocations: 39.03 kB / 0.817 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.006637, allocations: 15.69 kB / 0.817 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.006675, allocations: 11.44 kB / 0.817 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.006704, allocations: 37.38 kB / 0.8171 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.006705, allocations: 0.5312 kB / 0.8171 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000177/0.006882, allocations: 82.89 kB / 0.8172 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.006911, allocations: 51.41 kB / 0.8172 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.007076, allocations: 266.8 kB / 0.8175 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.007098, allocations: 30.86 kB / 0.8175 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.007176, allocations: 174.9 kB / 0.8177 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.007198, allocations: 27.73 kB / 0.8177 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.007235, allocations: 39.36 kB / 0.8177 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.007366, allocations: 0.5048 MB / 0.8182 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.007382, allocations: 4 kB / 0.8182 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.007452, allocations: 124.7 kB / 0.8183 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.007557, allocations: 152.7 kB / 0.8185 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007559, allocations: 0 / 0.8185 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001282/0.007687, allocations: 116 kB / 0.8186 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007699, allocations: 9.719 kB / 0.8186 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.007705, allocations: 7.219 kB / 0.8186 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007717, allocations: 0 / 0.8186 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.00778, allocations: 35.91 kB / 0.8186 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007786, allocations: 7.938 kB / 0.8186 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.665e-05/0.007822, allocations: 11.95 kB / 0.8187 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.007832, allocations: 8 kB / 0.8187 GB, free: 9.156 MB / 0.7292 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 8.326e-05/0.007915, allocations: 176.4 kB / 0.8188 GB, free: 8.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.007946, allocations: 15.91 kB / 0.8188 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.008076, allocations: 96.86 kB / 0.8189 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.008079, allocations: 9.875 kB / 0.8189 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.00808, allocations: 0 / 0.8189 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008083, allocations: 0 / 0.8189 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.008208, allocations: 137.1 kB / 0.8191 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008209, allocations: 0 / 0.8191 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.856e-05/0.008238, allocations: 21.02 kB / 0.8191 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.00824, allocations: 0 / 0.8191 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.008246, allocations: 4 kB / 0.8191 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008246, allocations: 0.6562 kB / 0.8191 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.008247, allocations: 0 / 0.8191 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.008377, allocations: 226.2 kB / 0.8193 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.008394, allocations: 19.83 kB / 0.8193 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.008404, allocations: 4 kB / 0.8193 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.008489, allocations: 11.94 kB / 0.8194 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.008504, allocations: 7.984 kB / 0.8194 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.008517, allocations: 7.984 kB / 0.8194 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.008589, allocations: 180.5 kB / 0.8195 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00859, allocations: 0 / 0.8195 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001923/0.008782, allocations: 27.98 kB / 0.8196 GB, free: 8.176 MB / 0.7292 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.0001835/0.008965, allocations: 125.2 kB / 0.8197 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.009064, allocations: 57.73 kB / 0.8197 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.009066, allocations: 4 kB / 0.8197 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.023e-05/0.009087, allocations: 20.77 kB / 0.8198 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.009293, allocations: 30.42 kB / 0.8198 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.009608, allocations: 271.8 kB / 0.8201 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.656e-05/0.009654, allocations: 87.25 kB / 0.8201 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.00971, allocations: 28.27 kB / 0.8202 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.009893, allocations: 154 kB / 0.8203 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of SimCode: time 7.42e-07/0.009894, allocations: 0 / 0.8203 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of Templates: time 0.00393/0.01382, allocations: 2.74 MB / 0.823 GB, free: 4.703 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9648538189940155]