Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001534/0.001534, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001387/0.001387, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002442/0.002442, allocations: 288.8 kB / 309.8 MB, free: 3.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.084/1.084, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 107.9 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.5489, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002938/0.5519, allocations: 1.521 MB / 0.8292 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.5533, allocations: 1.149 MB / 0.8304 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.5534, allocations: 3.938 kB / 0.8304 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.5536, allocations: 13.69 kB / 0.8304 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.5538, allocations: 47.14 kB / 0.8304 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.5539, allocations: 55.52 kB / 0.8305 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.5541, allocations: 143.2 kB / 0.8306 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.5542, allocations: 54.08 kB / 0.8307 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.5543, allocations: 85.88 kB / 0.8308 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.5545, allocations: 62.92 kB / 0.8308 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.5545, allocations: 10.81 kB / 0.8308 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.5546, allocations: 33.36 kB / 0.8309 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.5547, allocations: 43.22 kB / 0.8309 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.5547, allocations: 79.8 kB / 0.831 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.555, allocations: 198.8 kB / 0.8312 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.555, allocations: 4 kB / 0.8312 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.555, allocations: 2.781 kB / 0.8312 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.555, allocations: 0 / 0.8312 GB, free: 0.7969 MB / 0.5762 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.0005941/0.5556, allocations: 492.6 kB / 0.8316 GB, free: 376 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.5556, allocations: 15.62 kB / 0.8317 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/0.5556, allocations: 192 / 0.8317 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.5557, allocations: 39.92 kB / 0.8317 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.5557, allocations: 22.06 kB / 0.8317 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.556, allocations: 261.6 kB / 0.832 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.5562, allocations: 116.6 kB / 0.8321 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.5562, allocations: 8.703 kB / 0.8321 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.5566, allocations: 172.4 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5566, allocations: 3.938 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5566, allocations: 0.75 kB / 0.8322 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.5566, allocations: 9.469 kB / 0.8323 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.5567, allocations: 51.81 kB / 0.8323 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5579, allocations: 456.1 kB / 0.8327 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.558, allocations: 34.52 kB / 0.8328 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.558, allocations: 21.5 kB / 0.8328 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.558, allocations: 4.734 kB / 0.8328 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5581, allocations: 30.56 kB / 0.8328 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5581, allocations: 1.25 kB / 0.8328 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0002791/0.5584, allocations: 112.7 kB / 0.8329 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5584, allocations: 55.34 kB / 0.833 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.5586, allocations: 219.6 kB / 0.8332 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.5587, allocations: 25.7 kB / 0.8332 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.5587, allocations: 126.4 kB / 0.8333 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.5588, allocations: 34.8 kB / 0.8334 GB, free: 15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.5588, allocations: 29.48 kB / 0.8334 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.559, allocations: 323.3 kB / 0.8337 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.559, allocations: 31.8 kB / 0.8337 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.5591, allocations: 94.72 kB / 0.8338 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.5593, allocations: 145.2 kB / 0.834 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5593, allocations: 0 / 0.834 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002401/0.5596, allocations: 150.9 kB / 0.8341 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5596, allocations: 13.39 kB / 0.8341 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5596, allocations: 1.062 kB / 0.8341 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.5596, allocations: 7.656 kB / 0.8341 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.5597, allocations: 27.52 kB / 0.8342 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.5597, allocations: 7.359 kB / 0.8342 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.5598, allocations: 18 kB / 0.8342 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5598, allocations: 6.469 kB / 0.8342 GB, free: 14.31 MB / 0.5919 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.0001391/0.5599, allocations: 149.4 kB / 0.8343 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.56, allocations: 18.62 kB / 0.8344 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.5602, allocations: 112.8 kB / 0.8345 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5602, allocations: 6.812 kB / 0.8345 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5602, allocations: 0 / 0.8345 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5602, allocations: 0.6562 kB / 0.8345 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.5605, allocations: 232.1 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.5605, allocations: 0 / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.5605, allocations: 13.12 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5605, allocations: 2.875 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.5605, allocations: 4.797 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5605, allocations: 3.938 kB / 0.8347 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5605, allocations: 11.47 kB / 0.8347 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.5608, allocations: 190.9 kB / 0.8349 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.5608, allocations: 85 kB / 0.835 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.5608, allocations: 5.812 kB / 0.835 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.5611, allocations: 21.2 kB / 0.835 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.5611, allocations: 5.422 kB / 0.835 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.5611, allocations: 15.28 kB / 0.835 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001555/0.5613, allocations: 157.8 kB / 0.8352 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.5613, allocations: 2.656 kB / 0.8352 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002961/0.5616, allocations: 31.55 kB / 0.8352 GB, free: 13.5 MB / 0.5919 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.0006433/0.5622, allocations: 0.7512 MB / 0.836 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.5624, allocations: 68.17 kB / 0.836 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5624, allocations: 0.75 kB / 0.836 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.5624, allocations: 27.7 kB / 0.836 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5627, allocations: 17.75 kB / 0.8361 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.5648, allocations: 1.932 MB / 0.8379 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.5651, allocations: 0.7333 MB / 0.8387 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.5653, allocations: 59.22 kB / 0.8387 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.5653, allocations: 46.12 kB / 0.8388 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.5653, allocations: 0 / 0.8388 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.5883, allocations: 4.33 MB / 0.843 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/9.026, allocations: 11.31 kB / 0.843 GB, free: 9.867 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.113314120972063] Failed to read output from testmodel.py, exit status != 0: 9.162576285016257 9.180881976 8.622638498 Calling exit ...