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.001428/0.001428, allocations: 84.73 kB / 19.44 MB, free: 352 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.001632/0.001632, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 178] 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 3.256/3.256, allocations: 429.6 MB / 0.673 GB, free: 3.934 MB / 0.6355 GB " [Timeout remaining time 176] 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.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 1.203e-06/1.203e-06, allocations: 0 / 0.8776 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.807e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002998/0.003026, allocations: 1.501 MB / 0.879 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.004943, allocations: 1.228 MB / 0.8802 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.005013, allocations: 4.484 kB / 0.8802 GB, free: 2.699 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.005202, allocations: 24.55 kB / 0.8803 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.00543, allocations: 42.42 kB / 0.8803 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.005626, allocations: 60.94 kB / 0.8804 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.005859, allocations: 148.2 kB / 0.8805 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.005992, allocations: 37.27 kB / 0.8805 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.006185, allocations: 108.4 kB / 0.8806 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.006349, allocations: 48.81 kB / 0.8807 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.006391, allocations: 12.97 kB / 0.8807 GB, free: 2.234 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.249e-05/0.006474, allocations: 27.94 kB / 0.8807 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.006556, allocations: 41.05 kB / 0.8808 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.006645, allocations: 55.83 kB / 0.8808 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.006993, allocations: 215.3 kB / 0.881 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.006999, allocations: 8.922 kB / 0.881 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.32e-07/0.007, allocations: 0 / 0.881 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.007006, allocations: 0 / 0.881 GB, free: 1.895 MB / 0.7917 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.0007797/0.007785, allocations: 418.5 kB / 0.8814 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.007826, allocations: 13.16 kB / 0.8814 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.007929, allocations: 20.84 kB / 0.8815 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.00833, allocations: 205.4 kB / 0.8817 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.008574, allocations: 223.2 kB / 0.8819 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.00861, allocations: 8.375 kB / 0.8819 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.009095, allocations: 264.1 kB / 0.8821 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.009106, allocations: 192 / 0.8821 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.009136, allocations: 4.125 kB / 0.8821 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/0.009168, allocations: 8 kB / 0.8821 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.009274, allocations: 47.91 kB / 0.8822 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.0105, allocations: 379 kB / 0.8825 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.0106, allocations: 34.5 kB / 0.8826 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.01066, allocations: 28.86 kB / 0.8826 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.01069, allocations: 7.984 kB / 0.8826 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.01073, allocations: 31.66 kB / 0.8826 GB, free: 64 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.01073, allocations: 0 / 0.8826 GB, free: 64 kB / 0.7917 GB Notification: Performance of matching and sorting (n=8): time 0.0003886/0.01112, allocations: 105.6 kB / 0.8827 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.01117, allocations: 56.94 kB / 0.8828 GB, free: 15.89 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.01148, allocations: 211.8 kB / 0.883 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.01152, allocations: 29.7 kB / 0.883 GB, free: 15.63 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01164, allocations: 124.2 kB / 0.8831 GB, free: 15.5 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.01168, allocations: 31.95 kB / 0.8832 GB, free: 15.47 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.01173, allocations: 25.7 kB / 0.8832 GB, free: 15.44 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01194, allocations: 338.7 kB / 0.8835 GB, free: 15.1 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.475e-05/0.01201, allocations: 23.97 kB / 0.8835 GB, free: 15.08 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01214, allocations: 98.3 kB / 0.8836 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.01236, allocations: 146.1 kB / 0.8838 GB, free: 14.77 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.01237, allocations: 4 kB / 0.8838 GB, free: 14.76 MB / 0.8074 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000301/0.01267, allocations: 157.5 kB / 0.8839 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01269, allocations: 4 kB / 0.8839 GB, free: 14.6 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.0127, allocations: 4 kB / 0.8839 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.01272, allocations: 4 kB / 0.8839 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01284, allocations: 27.92 kB / 0.884 GB, free: 14.56 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01284, allocations: 0 / 0.884 GB, free: 14.56 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.01293, allocations: 15.89 kB / 0.884 GB, free: 14.55 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.01294, allocations: 8 kB / 0.884 GB, free: 14.54 MB / 0.8074 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.0001655/0.01311, allocations: 149.7 kB / 0.8841 GB, free: 14.38 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.01318, allocations: 24.03 kB / 0.8842 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.01344, allocations: 115.5 kB / 0.8843 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01344, allocations: 3.984 kB / 0.8843 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.01345, allocations: 0 / 0.8843 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.01345, allocations: 0 / 0.8843 GB, free: 14.24 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.01369, allocations: 157.2 kB / 0.8844 GB, free: 14.05 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01369, allocations: 0 / 0.8844 GB, free: 14.05 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.01375, allocations: 15.98 kB / 0.8844 GB, free: 14.04 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01375, allocations: 3.938 kB / 0.8844 GB, free: 14.04 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01376, allocations: 0 / 0.8844 GB, free: 14.04 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01376, allocations: 0 / 0.8844 GB, free: 14.04 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01376, allocations: 4 kB / 0.8844 GB, free: 14.03 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.01403, allocations: 199.4 kB / 0.8846 GB, free: 13.82 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.01405, allocations: 15.84 kB / 0.8847 GB, free: 13.8 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.01408, allocations: 7.984 kB / 0.8847 GB, free: 13.8 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.01433, allocations: 19.98 kB / 0.8847 GB, free: 13.78 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.01435, allocations: 7.969 kB / 0.8847 GB, free: 13.77 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.01438, allocations: 11.98 kB / 0.8847 GB, free: 13.76 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0001733/0.01455, allocations: 157.5 kB / 0.8848 GB, free: 13.61 MB / 0.8074 GB Notification: Performance of sort global known variables: time 7e-08/0.01455, allocations: 0 / 0.8848 GB, free: 13.61 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0003285/0.01488, allocations: 31.94 kB / 0.8849 GB, free: 13.57 MB / 0.8074 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.0003006/0.01518, allocations: 136.3 kB / 0.885 GB, free: 13.44 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001887/0.01537, allocations: 64.47 kB / 0.8851 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01537, allocations: 192 / 0.8851 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 4.744e-05/0.01542, allocations: 31.92 kB / 0.8851 GB, free: 13.34 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.01578, allocations: 38.11 kB / 0.8851 GB, free: 13.31 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.01641, allocations: 291.8 kB / 0.8854 GB, free: 13 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.01656, allocations: 122.2 kB / 0.8855 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0001342/0.01669, allocations: 45.83 kB / 0.8856 GB, free: 12.82 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.01675, allocations: 24.5 kB / 0.8856 GB, free: 12.79 MB / 0.8074 GB Notification: Performance of SimCode: time 5.61e-07/0.01675, allocations: 0 / 0.8856 GB, free: 12.79 MB / 0.8074 GB Notification: Performance of Templates: time 0.006455/0.02321, allocations: 2.457 MB / 0.888 GB, free: 10.39 MB / 0.8074 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.037984012975357]