Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001255/0.001255, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001415/0.001415, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_latest_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.002044/0.002044, allocations: 69.52 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002527/0.3387, allocations: 1.266 MB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.3396, allocations: 0.5181 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.205e-05/0.3397, allocations: 3.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.3397, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.066e-05/0.3397, allocations: 3.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.3403, allocations: 142 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.5e-05/0.3403, allocations: 8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.3404, allocations: 8 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.3404, allocations: 11.92 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.3405, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.3405, allocations: 3.938 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.3409, allocations: 271.5 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.3409, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.3409, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3412, allocations: 131.9 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3412, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3412, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3412, allocations: 0 / 1.366 GB, free: 11.75 MB / 1.061 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.000377/0.3416, allocations: 290 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3416, allocations: 12.03 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3416, allocations: 30.75 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.3417, allocations: 0.9375 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.3418, allocations: 106.5 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3418, allocations: 384 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-06/0.3418, allocations: 384 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.3419, allocations: 42.23 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3419, allocations: 7.875 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.3419, allocations: 0 / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3419, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.3419, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.3421, allocations: 124.7 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.501e-05/0.3421, allocations: 22.59 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.3421, allocations: 8.922 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3422, allocations: 0 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3422, allocations: 38.56 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3422, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001398/0.3423, allocations: 49.53 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.3424, allocations: 55.53 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.3425, allocations: 101.8 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3425, allocations: 25.7 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.182e-05/0.3425, allocations: 80.14 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3425, allocations: 3.953 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.3426, allocations: 13.72 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3427, allocations: 318.8 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.3427, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.3427, allocations: 3.984 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.3427, allocations: 13.05 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3427, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.236e-05/0.3428, allocations: 41.64 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.3428, allocations: 7.938 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3428, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3428, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.343, allocations: 11.98 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/0.3434, allocations: 0.5821 MB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.974e-05/0.3434, allocations: 4.031 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3434, allocations: 128 / 1.368 GB, free: 9.551 MB / 1.061 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.297e-05/0.3435, allocations: 118.4 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.3435, allocations: 7.984 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.3436, allocations: 44.95 kB / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3436, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3436, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3436, allocations: 0 / 1.368 GB, free: 9.363 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3437, allocations: 132.6 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3437, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.3438, allocations: 11.98 kB / 1.368 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3438, allocations: 4.031 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.3438, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.3442, allocations: 0.5898 MB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3442, allocations: 3.969 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.716e-05/0.3442, allocations: 65.12 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.3442, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.3443, allocations: 4 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.3443, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.3443, allocations: 4.062 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.3443, allocations: 4 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.234e-05/0.3443, allocations: 79.28 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3443, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000188/0.3445, allocations: 11.94 kB / 1.369 GB, free: 8.375 MB / 1.061 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.000425/0.3449, allocations: 0.6124 MB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3451, allocations: 15.98 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3451, allocations: 192 / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.3452, allocations: 15.98 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3453, allocations: 15.88 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.3457, allocations: 133 kB / 1.369 GB, free: 7.516 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.3458, allocations: 59.22 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.3458, allocations: 3.984 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3458, allocations: 7.438 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.3458, allocations: 4.062 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3742, allocations: 1.796 MB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.98, allocations: 5.625 kB / 1.371 GB, free: 5.797 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.283868777099997]