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.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.001005/0.001005, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001008/0.001008, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.8977/0.8977, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.01/2.01, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.572e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.001851/0.001867, allocations: 1.558 MB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.002916, allocations: 1.251 MB / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.002963, allocations: 0 / 0.8809 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.003098, allocations: 20.73 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.003255, allocations: 49.48 kB / 0.881 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.003364, allocations: 55.84 kB / 0.881 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.003502, allocations: 156.4 kB / 0.8812 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.003595, allocations: 33.23 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.003681, allocations: 104.9 kB / 0.8813 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.003765, allocations: 39.89 kB / 0.8813 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.003788, allocations: 12 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.003836, allocations: 21.09 kB / 0.8814 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.003889, allocations: 51.81 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.003934, allocations: 55.81 kB / 0.8815 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.004103, allocations: 180.4 kB / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004104, allocations: 0 / 0.8816 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004105, allocations: 4 kB / 0.8816 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.004108, allocations: 0.9688 kB / 0.8816 GB, free: 2.797 MB / 0.8386 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.0004293/0.004537, allocations: 0.5043 MB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.004566, allocations: 12.03 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.004617, allocations: 22.5 kB / 0.8822 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.004804, allocations: 201.8 kB / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.004912, allocations: 222.1 kB / 0.8826 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.004931, allocations: 8.375 kB / 0.8826 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.005118, allocations: 208.1 kB / 0.8828 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005124, allocations: 4.125 kB / 0.8828 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.005139, allocations: 4.125 kB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.005163, allocations: 12 kB / 0.8828 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.005198, allocations: 15.98 kB / 0.8828 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.00568, allocations: 422.2 kB / 0.8832 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.411e-05/0.005725, allocations: 35.05 kB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.331e-05/0.005748, allocations: 15.69 kB / 0.8833 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.005764, allocations: 4 kB / 0.8833 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.005782, allocations: 39.8 kB / 0.8833 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.005783, allocations: 0 / 0.8833 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001548/0.005938, allocations: 89.72 kB / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.005959, allocations: 51.41 kB / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.006088, allocations: 254.8 kB / 0.8837 GB, free: 484 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.006105, allocations: 33.7 kB / 0.8837 GB, free: 444 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.006165, allocations: 176.9 kB / 0.8839 GB, free: 264 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.006184, allocations: 31.73 kB / 0.8839 GB, free: 232 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.006217, allocations: 35.38 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006328, allocations: 0.5117 MB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.00635, allocations: 8 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.724e-05/0.006418, allocations: 120.2 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.00656, allocations: 152.1 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.006563, allocations: 4 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001307/0.006694, allocations: 121.3 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.006705, allocations: 8 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.006709, allocations: 0 / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006719, allocations: 4.375 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.006783, allocations: 31.92 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006789, allocations: 7.938 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.006823, allocations: 11.94 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.006832, allocations: 8 kB / 0.8849 GB, free: 15.09 MB / 0.8542 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 6.756e-05/0.0069, allocations: 168.5 kB / 0.8851 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.006932, allocations: 15.91 kB / 0.8851 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.00705, allocations: 100.5 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007052, allocations: 0 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.007054, allocations: 0 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007057, allocations: 0 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.007205, allocations: 188.5 kB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.007206, allocations: 0 / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.007252, allocations: 15.98 kB / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.007254, allocations: 0 / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007263, allocations: 4 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.007265, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007265, allocations: 0 / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.00745, allocations: 236.1 kB / 0.8856 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.007468, allocations: 11.91 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.007486, allocations: 4 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.007592, allocations: 11.98 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.007607, allocations: 4 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.007625, allocations: 19.97 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.787e-05/0.007702, allocations: 181.4 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007703, allocations: 0 / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001855/0.007888, allocations: 27.95 kB / 0.8858 GB, free: 14.05 MB / 0.8542 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.0001594/0.008047, allocations: 134.8 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.00814, allocations: 59.53 kB / 0.886 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008142, allocations: 0 / 0.886 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.008166, allocations: 27.61 kB / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.008364, allocations: 32.67 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002948/0.008659, allocations: 259 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.037e-05/0.008699, allocations: 87.31 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.65e-05/0.008766, allocations: 43.45 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.00879, allocations: 20.48 kB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.008791, allocations: 0 / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.003651/0.01244, allocations: 2.722 MB / 0.8891 GB, free: 10.66 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.1061587650328875]