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.0009161/0.0009161, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0009926/0.0009926, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9101/0.9101, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.832/1.832, allocations: 377.8 MB / 0.6221 GB, free: 8.672 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.249e-05, allocations: 6.281 kB / 0.9809 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002982/0.003004, allocations: 1.509 MB / 0.9824 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.004486, allocations: 1.216 MB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.004548, allocations: 4 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.004735, allocations: 11.86 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.004951, allocations: 43.72 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.005247, allocations: 62.97 kB / 0.9837 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.005435, allocations: 147.5 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.005567, allocations: 49.12 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.005673, allocations: 103.8 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.005779, allocations: 39.89 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.005807, allocations: 12 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.005876, allocations: 27.98 kB / 0.9841 GB, free: 15.41 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.00594, allocations: 51.81 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.005993, allocations: 47.89 kB / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.006216, allocations: 219.3 kB / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006219, allocations: 0 / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.00622, allocations: 0 / 0.9844 GB, free: 15.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.006225, allocations: 0 / 0.9844 GB, free: 15.09 MB / 0.948 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.0005064/0.006731, allocations: 425.3 kB / 0.9848 GB, free: 14.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.006768, allocations: 8.031 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.006808, allocations: 46.67 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.006862, allocations: 20.8 kB / 0.9848 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.007101, allocations: 201.2 kB / 0.985 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.007227, allocations: 218.2 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.00724, allocations: 8.375 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.007507, allocations: 260.9 kB / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.007514, allocations: 192 / 0.9855 GB, free: 13.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.007531, allocations: 7.875 kB / 0.9855 GB, free: 13.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.007555, allocations: 19.92 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.39e-05/0.007619, allocations: 39.97 kB / 0.9856 GB, free: 13.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.008316, allocations: 415.5 kB / 0.986 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.008376, allocations: 34.56 kB / 0.986 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.008406, allocations: 20.84 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.008428, allocations: 4 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.00845, allocations: 34.56 kB / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.008451, allocations: 0 / 0.9861 GB, free: 13.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.000207/0.008658, allocations: 105.7 kB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.008684, allocations: 55.41 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.00886, allocations: 219.8 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.00888, allocations: 29.7 kB / 0.9864 GB, free: 12.72 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.008935, allocations: 116.1 kB / 0.9866 GB, free: 12.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.008956, allocations: 40.02 kB / 0.9866 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.00899, allocations: 25.72 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.00907, allocations: 338.8 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.009107, allocations: 19.98 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.009176, allocations: 98.28 kB / 0.9871 GB, free: 12.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.009292, allocations: 146.1 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.009295, allocations: 4 kB / 0.9872 GB, free: 11.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001592/0.009454, allocations: 153.5 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.009468, allocations: 4 kB / 0.9873 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.009474, allocations: 4 kB / 0.9874 GB, free: 11.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.009487, allocations: 7.984 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.009562, allocations: 31.92 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.009568, allocations: 4 kB / 0.9874 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.00961, allocations: 11.89 kB / 0.9874 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.009621, allocations: 7.938 kB / 0.9874 GB, free: 11.63 MB / 0.948 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 9.32e-05/0.009714, allocations: 153.9 kB / 0.9876 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.009743, allocations: 15.91 kB / 0.9876 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.009923, allocations: 119.8 kB / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009925, allocations: 0 / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.009929, allocations: 0 / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.009932, allocations: 0 / 0.9877 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01008, allocations: 180.6 kB / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01009, allocations: 0 / 0.9879 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.01011, allocations: 19.98 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01012, allocations: 4 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.01012, allocations: 0 / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01012, allocations: 3.938 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01013, allocations: 4 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.01026, allocations: 199.2 kB / 0.9881 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.01027, allocations: 7.953 kB / 0.9881 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01028, allocations: 0 / 0.9881 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.0104, allocations: 23.97 kB / 0.9881 GB, free: 10.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.01042, allocations: 7.984 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.01043, allocations: 7.984 kB / 0.9881 GB, free: 10.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.01053, allocations: 161.5 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01053, allocations: 0 / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002173/0.01074, allocations: 43.83 kB / 0.9883 GB, free: 10.63 MB / 0.948 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.0004058/0.01115, allocations: 0.7399 MB / 0.989 GB, free: 9.867 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01127, allocations: 64.47 kB / 0.9891 GB, free: 9.805 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01128, allocations: 8.125 kB / 0.9891 GB, free: 9.797 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.0113, allocations: 23.98 kB / 0.9891 GB, free: 9.773 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01152, allocations: 27.86 kB / 0.9892 GB, free: 9.746 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.0129, allocations: 1.913 MB / 0.991 GB, free: 7.676 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.01299, allocations: 126.2 kB / 0.9912 GB, free: 7.535 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.191e-05/0.01308, allocations: 52.06 kB / 0.9912 GB, free: 7.488 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.01313, allocations: 48.48 kB / 0.9913 GB, free: 7.441 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01313, allocations: 0 / 0.9913 GB, free: 7.441 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.03055, allocations: 5.049 MB / 0.9962 GB, free: 2.594 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.142/7.172, allocations: 15.94 kB / 0.9962 GB, free: 2.578 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.370399170555174]