Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004566/0.004566, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.015/2.015, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.000268, allocations: 16 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4901, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.0008778/0.491, allocations: 0.9959 MB / 0.9561 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.4924, allocations: 1.409 MB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.4924, allocations: 1.219 kB / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.4925, allocations: 0 / 0.9575 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.4926, allocations: 14.67 kB / 0.9575 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.493, allocations: 189.4 kB / 0.9577 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.922e-05/0.493, allocations: 27.97 kB / 0.9577 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.992e-05/0.4931, allocations: 1.375 kB / 0.9577 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.4931, allocations: 16.89 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.4932, allocations: 16.83 kB / 0.9578 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.4933, allocations: 1.219 kB / 0.9578 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.4934, allocations: 145 kB / 0.9579 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.4935, allocations: 9.734 kB / 0.9579 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.4935, allocations: 29.42 kB / 0.958 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.4937, allocations: 146.7 kB / 0.9581 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4937, allocations: 3.938 kB / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4937, allocations: 0 / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.4937, allocations: 0 / 0.9581 GB, free: 5.457 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00021/0.4939, allocations: 365.2 kB / 0.9584 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.4939, allocations: 13.62 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.84e-05/0.494, allocations: 106 kB / 0.9586 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.494, allocations: 78.97 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.4941, allocations: 241 kB / 0.9589 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4941, allocations: 152.3 kB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.4941, allocations: 161.2 kB / 0.9592 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.77e-05/0.4942, allocations: 109 kB / 0.9593 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.4942, allocations: 76.66 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4942, allocations: 154.5 kB / 0.9595 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.4942, allocations: 150.6 kB / 0.9596 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.4942, allocations: 151.9 kB / 0.9598 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.4944, allocations: 458 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.912e-05/0.4944, allocations: 174.5 kB / 0.9604 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.167e-05/0.4944, allocations: 80.14 kB / 0.9605 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.4944, allocations: 79.22 kB / 0.9605 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.4945, allocations: 119.2 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4945, allocations: 0 / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 4.927e-05/0.4945, allocations: 36.3 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.4945, allocations: 130.6 kB / 0.9608 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.4946, allocations: 104.7 kB / 0.9609 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.4946, allocations: 27.08 kB / 0.9609 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.749e-05/0.4946, allocations: 85.52 kB / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.4947, allocations: 0 / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.4947, allocations: 11.09 kB / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.4947, allocations: 316.2 kB / 0.9613 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.235e-06/0.4947, allocations: 1.375 kB / 0.9613 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.4948, allocations: 33.12 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.4948, allocations: 27.97 kB / 0.9614 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4948, allocations: 4 kB / 0.9614 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.862e-05/0.4949, allocations: 51.03 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.4949, allocations: 5.375 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.4949, allocations: 1.188 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.4949, allocations: 1.156 kB / 0.9614 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.495, allocations: 8.656 kB / 0.9614 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.495, allocations: 1.25 kB / 0.9614 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4951, allocations: 11.77 kB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.4951, allocations: 2.438 kB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 4.377e-05/0.4952, allocations: 191.3 kB / 0.9616 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.4952, allocations: 106.2 kB / 0.9617 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.71e-05/0.4952, allocations: 117.2 kB / 0.9619 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.4952, allocations: 177.3 kB / 0.962 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.4953, allocations: 177.6 kB / 0.9622 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.4953, allocations: 185.4 kB / 0.9624 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.819e-05/0.4954, allocations: 408.2 kB / 0.9628 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.4954, allocations: 104.9 kB / 0.9629 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.4954, allocations: 102.3 kB / 0.963 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.4954, allocations: 185.6 kB / 0.9631 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.4955, allocations: 180.3 kB / 0.9633 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.234e-05/0.4956, allocations: 182.1 kB / 0.9635 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-05/0.4956, allocations: 181.3 kB / 0.9637 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.761e-05/0.4957, allocations: 310.3 kB / 0.964 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.4958, allocations: 183.9 kB / 0.9641 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.4958, allocations: 185.9 kB / 0.9643 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.4959, allocations: 110.5 kB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.496, allocations: 185.3 kB / 0.9646 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.496, allocations: 104.9 kB / 0.9647 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.496, allocations: 84.5 kB / 0.9648 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.496, allocations: 0 / 0.9648 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002645/0.4963, allocations: 55.2 kB / 0.9648 GB, free: 14.25 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0006131/0.4969, allocations: 0.9694 MB / 0.9658 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.173e-05/0.497, allocations: 10.69 kB / 0.9658 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.497, allocations: 5.219 kB / 0.9658 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.497, allocations: 0 / 0.9658 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.4973, allocations: 0.5222 MB / 0.9663 GB, free: 12.84 MB / 0.7325 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.4981, allocations: 1.349 MB / 0.9676 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.4983, allocations: 0.6793 MB / 0.9683 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.4984, allocations: 6.656 kB / 0.9683 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.4984, allocations: 12.56 kB / 0.9683 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.4984, allocations: 1.375 kB / 0.9683 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.085/2.583, allocations: 2.395 MB / 0.9706 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/2.583, allocations: 290.6 kB / 0.9709 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/4.112, allocations: 3.938 kB / 0.9709 GB, free: 9.188 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches