Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.007396/0.007396, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001839/0.001839, allocations: 200.6 kB / 16.68 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.16 kB / 0.9504 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2257, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002571/0.2283, allocations: 1.651 MB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2298, allocations: 1.171 MB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.2298, allocations: 0 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.23, allocations: 27.78 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.2303, allocations: 75.61 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.2306, allocations: 151.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.2309, allocations: 245.5 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.231, allocations: 24.27 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.252e-05/0.2311, allocations: 83.77 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.2313, allocations: 99.69 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.2313, allocations: 16 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2314, allocations: 79.97 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.2315, allocations: 83.8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.693e-05/0.2316, allocations: 103.3 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.2319, allocations: 294.8 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.232, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.232, allocations: 3.938 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.232, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006684/0.2326, allocations: 0.5571 MB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2327, allocations: 12.03 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.2327, allocations: 50.73 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.2328, allocations: 24.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2331, allocations: 276.7 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.2331, allocations: 8.375 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.2331, allocations: 16.38 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2335, allocations: 220.7 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2335, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2335, allocations: 12 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2335, allocations: 4 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.2343, allocations: 0.7409 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.2351, allocations: 0.5706 MB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.2354, allocations: 232.4 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.2356, allocations: 100.8 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.2356, allocations: 27.97 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.2359, allocations: 173.5 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.2359, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0005954/0.2365, allocations: 363.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.2366, allocations: 132.5 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.2369, allocations: 316.9 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.2369, allocations: 29.7 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.237, allocations: 132.7 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.661e-05/0.237, allocations: 107.1 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.2371, allocations: 65.69 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2372, allocations: 334.8 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.2374, allocations: 79.95 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2376, allocations: 123.6 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.2379, allocations: 208.7 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2379, allocations: 4 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00039/0.2383, allocations: 273.8 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2383, allocations: 8 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2383, allocations: 0 / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2383, allocations: 7.938 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2385, allocations: 67.94 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2385, allocations: 3.938 kB / 1.097 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2387, allocations: 27.81 kB / 1.097 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2387, allocations: 15.98 kB / 1.097 GB, free: 8.371 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001353/0.2388, allocations: 165.7 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.2389, allocations: 27.81 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/0.2395, allocations: 372.8 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2395, allocations: 4 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2395, allocations: 3.938 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2395, allocations: 3.984 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.2398, allocations: 325.4 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2398, allocations: 0 / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.24, allocations: 59.91 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.24, allocations: 4 kB / 1.098 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.24, allocations: 11.98 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.24, allocations: 4 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.24, allocations: 3.938 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.2404, allocations: 318.3 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2406, allocations: 140.8 kB / 1.098 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.2406, allocations: 11.98 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.2408, allocations: 15.98 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.2408, allocations: 27.91 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.2409, allocations: 20 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000179/0.241, allocations: 232.4 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2411, allocations: 0 / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002715/0.2413, allocations: 63.89 kB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001392/0.2427, allocations: 1.152 MB / 1.099 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003575/0.2431, allocations: 224.3 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2431, allocations: 4 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2433, allocations: 128.3 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2435, allocations: 35.16 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.2461, allocations: 2.431 MB / 1.102 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2464, allocations: 0.7618 MB / 1.103 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.2467, allocations: 142.9 kB / 1.103 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.2469, allocations: 91.39 kB / 1.103 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2469, allocations: 0 / 1.103 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2684, allocations: 5.509 MB / 1.109 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.327, allocations: 15.86 kB / 1.109 GB, free: 12.11 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches