Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008196/0.0008196, 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.0008383/0.0008383, allocations: 169.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.8875/0.8875, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9505 GB, free: 3.559 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.824e-05, allocations: 9.094 kB / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002721/0.002739, allocations: 1.49 MB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004215, allocations: 1.212 MB / 0.9531 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.004278, allocations: 4 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.004471, allocations: 19.84 kB / 0.9531 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.004696, allocations: 47.72 kB / 0.9532 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.004875, allocations: 60.53 kB / 0.9532 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.00507, allocations: 151.5 kB / 0.9534 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.005207, allocations: 33.27 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005334, allocations: 99.8 kB / 0.9535 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.005459, allocations: 51.81 kB / 0.9536 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.005492, allocations: 8 kB / 0.9536 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.00556, allocations: 24 kB / 0.9536 GB, free: 340 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 7.226e-05/0.005633, allocations: 59.81 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.005694, allocations: 47.89 kB / 0.9537 GB, free: 232 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.005956, allocations: 219.2 kB / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005958, allocations: 0 / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005959, allocations: 0 / 0.9539 GB, free: 12 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.005963, allocations: 7.938 kB / 0.9539 GB, free: 4 kB / 0.9011 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.0006474/0.006611, allocations: 423 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.00665, allocations: 8.031 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.0067, allocations: 38.75 kB / 0.9544 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.006764, allocations: 24.8 kB / 0.9544 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.007045, allocations: 203.3 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.007211, allocations: 222.2 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.007225, allocations: 4.375 kB / 0.9548 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.00758, allocations: 264.9 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.007589, allocations: 192 / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.007615, allocations: 11.94 kB / 0.9551 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.007639, allocations: 4 kB / 0.9551 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.359e-05/0.007722, allocations: 39.97 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.008575, allocations: 411.6 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.008649, allocations: 30.58 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.078e-05/0.00869, allocations: 20.84 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.008718, allocations: 4 kB / 0.9555 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.008746, allocations: 38.55 kB / 0.9556 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.008747, allocations: 7.938 kB / 0.9556 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002766/0.009024, allocations: 109.7 kB / 0.9557 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.009056, allocations: 51.41 kB / 0.9557 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.009263, allocations: 215.8 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.009289, allocations: 33.69 kB / 0.956 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.009365, allocations: 120.2 kB / 0.9561 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.009388, allocations: 23.81 kB / 0.9561 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.00944, allocations: 33.7 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.009543, allocations: 330.8 kB / 0.9565 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.009602, allocations: 27.97 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.009695, allocations: 102.2 kB / 0.9566 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.009856, allocations: 138.2 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.00986, allocations: 4 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002506/0.01011, allocations: 157.3 kB / 0.9569 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01013, allocations: 8 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.01013, allocations: 320 / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01015, allocations: 4.375 kB / 0.9569 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01025, allocations: 31.92 kB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.01026, allocations: 4 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.01033, allocations: 11.89 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01034, allocations: 15.92 kB / 0.9569 GB, free: 12.55 MB / 0.9167 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.0001179/0.01046, allocations: 149.7 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.01052, allocations: 23.83 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.01073, allocations: 109.1 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01073, allocations: 0 / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01073, allocations: 3.984 kB / 0.9572 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01074, allocations: 7.938 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.01096, allocations: 192.6 kB / 0.9574 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01096, allocations: 0 / 0.9574 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.01101, allocations: 15.94 kB / 0.9574 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01102, allocations: 0 / 0.9574 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01102, allocations: 3.984 kB / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01103, allocations: 0 / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01103, allocations: 0 / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.01122, allocations: 187.4 kB / 0.9576 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.01124, allocations: 11.91 kB / 0.9576 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01126, allocations: 4 kB / 0.9576 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.01146, allocations: 23.97 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.01148, allocations: 4 kB / 0.9577 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.01151, allocations: 7.984 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001468/0.01165, allocations: 165.5 kB / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01165, allocations: 0 / 0.9578 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003552/0.01201, allocations: 43.81 kB / 0.9579 GB, free: 11.55 MB / 0.9167 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.0006678/0.01268, allocations: 0.7462 MB / 0.9586 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01285, allocations: 75.81 kB / 0.9587 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01285, allocations: 0 / 0.9587 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.961e-05/0.01289, allocations: 27.92 kB / 0.9587 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.01321, allocations: 16.75 kB / 0.9587 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.01506, allocations: 1.922 MB / 0.9606 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01516, allocations: 118.2 kB / 0.9607 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.01528, allocations: 53.31 kB / 0.9607 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.01536, allocations: 52.48 kB / 0.9608 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of SimCode: time 4.81e-07/0.01536, allocations: 0 / 0.9608 GB, free: 8.363 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.03321, allocations: 5.047 MB / 0.9657 GB, free: 3.508 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.018, allocations: 7.203 kB / 0.9657 GB, free: 3.508 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.904270789586008]