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.001522/0.001522, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001878/0.001878, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.793 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.928/2.928, allocations: 476 MB / 0.7699 GB, free: 4.766 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_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.002119/0.002119, allocations: 65.8 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3826, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003401/0.386, allocations: 1.273 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3872, allocations: 0.5117 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.3872, allocations: 8 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.3872, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.073e-05/0.3873, allocations: 0 / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.3881, allocations: 148.9 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.3881, allocations: 7.938 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.3882, allocations: 3.984 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.3882, allocations: 7.938 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3883, allocations: 4 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3883, allocations: 4 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3888, allocations: 275.4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.3888, allocations: 0 / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.3888, allocations: 7.938 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3891, allocations: 128.9 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3891, allocations: 4 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3891, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.3891, allocations: 0 / 1.285 GB, free: 10.05 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.0004628/0.3896, allocations: 270 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3896, allocations: 12.03 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.3897, allocations: 30.75 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.3897, allocations: 8.875 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3898, allocations: 114.5 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.3899, allocations: 384 / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3899, allocations: 384 / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.39, allocations: 38.19 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.39, allocations: 3.938 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.39, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.39, allocations: 3.984 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.808e-05/0.39, allocations: 4 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.3902, allocations: 120.8 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.3903, allocations: 30.59 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.3903, allocations: 8.922 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.3903, allocations: 0 / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3903, allocations: 34.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3903, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.3905, allocations: 45.64 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3905, allocations: 55.39 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.561e-05/0.3906, allocations: 89.86 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3906, allocations: 29.95 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.3907, allocations: 84.14 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3907, allocations: 11.94 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.3907, allocations: 13.72 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3909, allocations: 314.8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.3909, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/0.3909, allocations: 12 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.3909, allocations: 16.8 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3909, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.658e-05/0.391, allocations: 41.7 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.391, allocations: 12.03 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.391, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3911, allocations: 3.984 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.3912, allocations: 8 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/0.3917, allocations: 0.5859 MB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.3917, allocations: 4.031 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3917, allocations: 0 / 1.287 GB, free: 7.848 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 9.211e-05/0.3918, allocations: 113.8 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.3918, allocations: 11.98 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.3919, allocations: 45.02 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3919, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3919, allocations: 3.984 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3919, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.392, allocations: 128.6 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.392, allocations: 0 / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.964e-05/0.3921, allocations: 15.92 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3921, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3921, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003828/0.3925, allocations: 0.5822 MB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3925, allocations: 3.938 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.063e-05/0.3926, allocations: 69.09 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.3926, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3926, allocations: 4 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.3926, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.3927, allocations: 7.938 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3927, allocations: 0 / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.331e-05/0.3927, allocations: 79.28 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3927, allocations: 4.219 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002071/0.3929, allocations: 7.984 kB / 1.288 GB, free: 6.684 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.0004689/0.3934, allocations: 0.6074 MB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3936, allocations: 23.92 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3936, allocations: 0 / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.3936, allocations: 15.98 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.3938, allocations: 3.938 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.3943, allocations: 140 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.344e-05/0.3944, allocations: 67.14 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.538e-05/0.3944, allocations: 0 / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.3944, allocations: 7.438 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3944, allocations: 0 / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.4268, allocations: 1.818 MB / 1.29 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.42, allocations: 3 kB / 1.29 GB, free: 4.09 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: 20.719696413725615]