Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.0006265/0.0006265, allocations: 81.69 kB / 19.27 MB, free: 0.5859 MB / 13.93 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.0008304/0.0008304, allocations: 166 kB / 22.58 MB, free: 1.926 MB / 18.57 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 0.9011/0.9011, allocations: 177.1 MB / 202.9 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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 1.792/1.792, allocations: 390.1 MB / 0.6342 GB, free: 11.54 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.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.InvertingPowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.484e-05, allocations: 2.312 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002198/0.002223, allocations: 1.351 MB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003279, allocations: 0.8411 MB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.003318, allocations: 0 / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.003336, allocations: 3.938 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.003409, allocations: 19.84 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.003871, allocations: 214.9 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.633e-05/0.003938, allocations: 43.83 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.003975, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.004016, allocations: 23.92 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.004054, allocations: 7.984 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.004066, allocations: 4 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.004434, allocations: 375.4 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.004451, allocations: 15.92 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.004474, allocations: 7.984 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.004775, allocations: 295.2 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.004778, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004778, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004782, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 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.0003546/0.005137, allocations: 345.3 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005174, allocations: 8.031 kB / 1.005 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.609e-05/0.005201, allocations: 30.75 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.005363, allocations: 24.84 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.005452, allocations: 113.8 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005465, allocations: 4.312 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.005475, allocations: 4.359 kB / 1.005 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.005566, allocations: 46.23 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.005572, allocations: 192 / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.005579, allocations: 4.375 kB / 1.005 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.005584, allocations: 4.125 kB / 1.005 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.679e-05/0.00564, allocations: 15.98 kB / 1.005 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.005774, allocations: 140.7 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.724e-05/0.005861, allocations: 42.55 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.005896, allocations: 12.86 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.005909, allocations: 4 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.005926, allocations: 30.56 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.005927, allocations: 0 / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.00611, allocations: 73.61 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.006139, allocations: 55.34 kB / 1.006 GB, free: 7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.006212, allocations: 121.1 kB / 1.006 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.006223, allocations: 29.83 kB / 1.006 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.00626, allocations: 100.1 kB / 1.006 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.006275, allocations: 3.953 kB / 1.006 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.006305, allocations: 25.7 kB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/0.006378, allocations: 314.8 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.006425, allocations: 27.92 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.00646, allocations: 19.98 kB / 1.006 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.006538, allocations: 48.78 kB / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00654, allocations: 0 / 1.006 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001144/0.006654, allocations: 89.61 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006665, allocations: 4 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.006681, allocations: 7.984 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.006692, allocations: 0 / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.00711, allocations: 83.75 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.008172, allocations: 1.395 MB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.008198, allocations: 8.109 kB / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.008207, allocations: 8.016 kB / 1.008 GB, free: 4.574 MB / 0.9636 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.774e-05/0.008265, allocations: 113.7 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.008272, allocations: 7.953 kB / 1.008 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.474e-06/0.008279, allocations: 7.625 kB / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-07/0.00828, allocations: 0 / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-07/0.00828, allocations: 0 / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.008283, allocations: 0 / 1.008 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.343e-05/0.008346, allocations: 132.7 kB / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.008348, allocations: 0 / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.008785, allocations: 103.8 kB / 1.008 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008787, allocations: 4 kB / 1.008 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.008795, allocations: 4.094 kB / 1.008 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009438/0.009738, allocations: 1.395 MB / 1.01 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.00974, allocations: 8.141 kB / 1.01 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.024e-05/0.00983, allocations: 81.11 kB / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.009835, allocations: 0 / 1.01 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.009842, allocations: 3.984 kB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.009861, allocations: 7.938 kB / 1.01 GB, free: 2.535 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.009876, allocations: 3.938 kB / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.00988, allocations: 0 / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.009917, allocations: 95.27 kB / 1.01 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009917, allocations: 0 / 1.01 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001618/0.01008, allocations: 35.86 kB / 1.01 GB, free: 2.402 MB / 0.9636 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.0003314/0.01041, allocations: 0.628 MB / 1.011 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.01093, allocations: 149.6 kB / 1.011 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01093, allocations: 0 / 1.011 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.01138, allocations: 123.8 kB / 1.011 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01155, allocations: 19.92 kB / 1.011 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.01244, allocations: 1.27 MB / 1.012 GB, free: 100 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.01247, allocations: 67.28 kB / 1.012 GB, free: 12 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.01249, allocations: 4.062 kB / 1.012 GB, free: 8 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.01253, allocations: 20.58 kB / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.01253, allocations: 0 / 1.012 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.02785, allocations: 3.107 MB / 1.015 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.156, allocations: 0 / 1.015 GB, free: 13.07 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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_InvertingPowerLaw_dp.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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: 11.371529491618276]