Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001349/0.001349, allocations: 113 kB / 18.94 MB, free: 2.934 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.001646/0.001646, allocations: 209.7 kB / 22.25 MB, free: 5.086 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 / 256 MB, free: 8.031 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 2.816/2.816, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] 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_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.002043/0.002043, allocations: 67.14 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3786, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003437/0.3821, allocations: 1.281 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3834, allocations: 0.5895 MB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.3834, allocations: 0 / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.3834, allocations: 3.938 kB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-05/0.3835, allocations: 3.984 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.3842, allocations: 140 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.3843, allocations: 19.92 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.3844, allocations: 4 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.264e-05/0.3844, allocations: 3.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.3844, allocations: 4 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3845, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005919/0.3851, allocations: 347.3 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.3851, allocations: 4 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.3851, allocations: 3.938 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3854, allocations: 139.2 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3854, allocations: 3.938 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3854, allocations: 4 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3854, allocations: 0 / 1.286 GB, free: 9.16 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.0004436/0.3858, allocations: 278 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3859, allocations: 12.03 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.3859, allocations: 30.75 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.3859, allocations: 0.9375 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.386, allocations: 114.5 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.3861, allocations: 384 / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3861, allocations: 384 / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.3862, allocations: 38.27 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3862, allocations: 7.938 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.3862, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3862, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.689e-05/0.3862, allocations: 7.938 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.3864, allocations: 124.8 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.3864, allocations: 18.58 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.3865, allocations: 8.859 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.3865, allocations: 4.062 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.3865, allocations: 34.55 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3865, allocations: 0 / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001668/0.3867, allocations: 49.52 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3867, allocations: 51.41 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.3868, allocations: 97.86 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3868, allocations: 29.95 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3869, allocations: 80.14 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3869, allocations: 15.88 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.3869, allocations: 9.719 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.387, allocations: 314.8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.3871, allocations: 4 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.3871, allocations: 4 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.016e-05/0.3871, allocations: 16.92 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3871, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.746e-05/0.3872, allocations: 45.62 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3872, allocations: 7.938 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3872, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3872, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3874, allocations: 11.98 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/0.3878, allocations: 0.5822 MB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.3878, allocations: 7.969 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3878, allocations: 0 / 1.288 GB, free: 6.961 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 8.836e-05/0.3879, allocations: 113.8 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.3879, allocations: 7.938 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.388, allocations: 52.94 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.388, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.388, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.388, allocations: 4.094 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3881, allocations: 124.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3881, allocations: 0 / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.3882, allocations: 8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3882, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3882, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003581/0.3886, allocations: 0.5899 MB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3886, allocations: 4.031 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.292e-05/0.3886, allocations: 65.17 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.3886, allocations: 3.984 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.3886, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.771e-05/0.3887, allocations: 4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3887, allocations: 3.938 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3887, allocations: 4 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.3887, allocations: 79.31 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3887, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001919/0.3889, allocations: 11.94 kB / 1.289 GB, free: 5.797 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.0004819/0.3894, allocations: 0.6124 MB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.3896, allocations: 20.11 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3896, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.3897, allocations: 19.92 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.3898, allocations: 10 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.3904, allocations: 142.8 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3907, allocations: 0.6768 MB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.3907, allocations: 4 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3908, allocations: 7.438 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3908, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.4195, allocations: 1.393 MB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.9, allocations: 10.14 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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: 19.954354475999935]