Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001449/0.001449, allocations: 103 kB / 16.45 MB, free: 6.449 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.001582/0.001582, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.073/3.073, allocations: 476.7 MB / 0.7672 GB, free: 5.395 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002352/0.002352, allocations: 79.88 kB / 1.112 GB, free: 1.582 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9867/0.9891, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003005/0.9921, allocations: 1.277 MB / 1.28 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.9934, allocations: 0.5916 MB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.9934, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.9934, allocations: 3.938 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.9935, allocations: 3.984 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.9942, allocations: 142.8 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.9943, allocations: 11.92 kB / 1.28 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.9944, allocations: 8 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.9944, allocations: 0 / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.9945, allocations: 11.94 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.9945, allocations: 0 / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.9951, allocations: 343.3 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.9951, allocations: 4 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.9952, allocations: 0 / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.9955, allocations: 149.3 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9955, allocations: 0 / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9955, allocations: 0 / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.9956, allocations: 3.984 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006179/0.9962, allocations: 347.2 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.9962, allocations: 12.03 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.9963, allocations: 30.75 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.9963, allocations: 8.891 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.9965, allocations: 164.3 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.9966, allocations: 384 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.9966, allocations: 4.375 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.9967, allocations: 30.25 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.9967, allocations: 11.94 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9967, allocations: 0 / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9967, allocations: 3.938 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.9968, allocations: 7.938 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002532/0.997, allocations: 149.7 kB / 1.281 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.553e-05/0.9971, allocations: 22.61 kB / 1.281 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.9972, allocations: 10.62 kB / 1.282 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.9972, allocations: 0 / 1.282 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.9972, allocations: 34.56 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.9972, allocations: 0 / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002031/0.9974, allocations: 61.48 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.9975, allocations: 51.41 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.9976, allocations: 93.86 kB / 1.282 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.9976, allocations: 25.7 kB / 1.282 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.9977, allocations: 80.39 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.9977, allocations: 11.95 kB / 1.282 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.9977, allocations: 13.72 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.9979, allocations: 314.8 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.9979, allocations: 0 / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.9979, allocations: 8 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.998, allocations: 12.86 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.998, allocations: 0 / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.177e-05/0.9981, allocations: 45.7 kB / 1.282 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9981, allocations: 15.92 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9981, allocations: 0 / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9981, allocations: 0 / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.9983, allocations: 8 kB / 1.282 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005017/0.9988, allocations: 0.5782 MB / 1.283 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.9988, allocations: 3.984 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.9988, allocations: 4.125 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.9989, allocations: 118.3 kB / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.999, allocations: 3.953 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.9991, allocations: 44.81 kB / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9991, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.9991, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9991, allocations: 0 / 1.283 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.9993, allocations: 153.6 kB / 1.283 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9993, allocations: 4.031 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.9994, allocations: 15.92 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9994, allocations: 0 / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.9994, allocations: 0 / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004397/0.9998, allocations: 0.586 MB / 1.284 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9998, allocations: 3.938 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.9999, allocations: 65.25 kB / 1.284 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/1, allocations: 77.11 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/1, allocations: 0 / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.564e-05/1, allocations: 4 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/1, allocations: 7.922 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/1, allocations: 0 / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.651e-05/1, allocations: 83.28 kB / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1, allocations: 0 / 1.284 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002219/1, allocations: 12.06 kB / 1.284 GB, free: 7.211 MB / 0.9825 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005517/1.001, allocations: 0.6227 MB / 1.285 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001951/1.001, allocations: 16 kB / 1.285 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.001, allocations: 96 / 1.285 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/1.001, allocations: 23.92 kB / 1.285 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/1.001, allocations: 6.125 kB / 1.285 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/1.002, allocations: 135.7 kB / 1.285 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.002, allocations: 0.6805 MB / 1.285 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.888e-05/1.002, allocations: 0 / 1.285 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/1.002, allocations: 11.5 kB / 1.285 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of SimCode: time 6.22e-07/1.002, allocations: 0 / 1.285 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/1.032, allocations: 1.392 MB / 1.287 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.42, allocations: 7.922 kB / 1.287 GB, free: 4.422 MB / 0.9825 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: 20.064337661024183]