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.0009177/0.0009177, allocations: 93.06 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.0009669/0.0009669, allocations: 169.3 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.9396/0.9396, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.09/2.09, allocations: 429.5 MB / 0.6733 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.733e-06/1.733e-06, allocations: 0 / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.722e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002843/0.00287, allocations: 1.559 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004435, allocations: 1.249 MB / 0.8809 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.004505, allocations: 4.719 kB / 0.8809 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.004729, allocations: 19.86 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.004954, allocations: 48.27 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.005132, allocations: 53.66 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.005332, allocations: 147.5 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.005476, allocations: 42.72 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.005625, allocations: 103.8 kB / 0.8813 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005752, allocations: 43.89 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.005792, allocations: 12 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.005868, allocations: 23.78 kB / 0.8814 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.005954, allocations: 55.81 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.006025, allocations: 47.81 kB / 0.8815 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.006308, allocations: 179.4 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006311, allocations: 0 / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006312, allocations: 0 / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.006317, allocations: 0 / 0.8816 GB, free: 2.77 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.0006638/0.006981, allocations: 0.5075 MB / 0.8821 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.007023, allocations: 8.031 kB / 0.8821 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.007109, allocations: 21.78 kB / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.007432, allocations: 209.7 kB / 0.8824 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.007602, allocations: 218.9 kB / 0.8826 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.007639, allocations: 12.38 kB / 0.8826 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.007925, allocations: 205.7 kB / 0.8828 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.007933, allocations: 192 / 0.8828 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.007962, allocations: 19.67 kB / 0.8828 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.007997, allocations: 7.938 kB / 0.8828 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.008053, allocations: 15.98 kB / 0.8828 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.008659, allocations: 419.4 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.788e-05/0.008707, allocations: 31.06 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.008734, allocations: 20.42 kB / 0.8833 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.008757, allocations: 4 kB / 0.8833 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.008783, allocations: 41.98 kB / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.008784, allocations: 0 / 0.8833 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001883/0.008972, allocations: 90.84 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.008996, allocations: 51.41 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.009148, allocations: 258.8 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.009166, allocations: 31.17 kB / 0.8837 GB, free: 404 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.009245, allocations: 178.8 kB / 0.8839 GB, free: 220 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.009266, allocations: 31.73 kB / 0.8839 GB, free: 188 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.0096, allocations: 31.38 kB / 0.8839 GB, free: 148 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.00974, allocations: 0.5118 MB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.009766, allocations: 11.98 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.009842, allocations: 116.2 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.009958, allocations: 156.1 kB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.009961, allocations: 0 / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001507/0.01011, allocations: 121.7 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.01013, allocations: 8.031 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01014, allocations: 4 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.01016, allocations: 4 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.01024, allocations: 23.92 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01024, allocations: 4 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.01028, allocations: 11.94 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01029, allocations: 8 kB / 0.8849 GB, free: 15.05 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 7.922e-05/0.01037, allocations: 168.5 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.0104, allocations: 19.89 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.01054, allocations: 102.2 kB / 0.8852 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01054, allocations: 4 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01055, allocations: 0 / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01055, allocations: 4 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.01069, allocations: 176.5 kB / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01069, allocations: 0 / 0.8853 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.01072, allocations: 19.92 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01072, allocations: 0 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.01073, allocations: 8 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.01073, allocations: 0 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01073, allocations: 0 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.01086, allocations: 224.2 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.01087, allocations: 19.89 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.01088, allocations: 0 / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.342e-05/0.01098, allocations: 11.98 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.01099, allocations: 4 kB / 0.8856 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.01101, allocations: 15.97 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.854e-05/0.01109, allocations: 177.4 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01109, allocations: 3.938 kB / 0.8858 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002007/0.01129, allocations: 39.88 kB / 0.8858 GB, free: 14.01 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.0002132/0.0115, allocations: 130.2 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01162, allocations: 59.75 kB / 0.886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01163, allocations: 0 / 0.886 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.343e-05/0.01165, allocations: 24.42 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01189, allocations: 35.86 kB / 0.8861 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.01225, allocations: 258.9 kB / 0.8863 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01231, allocations: 79.31 kB / 0.8864 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.01238, allocations: 51.12 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.01242, allocations: 20.48 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01242, allocations: 0 / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00401/0.01643, allocations: 2.444 MB / 0.8889 GB, free: 10.91 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.478088411968201]