Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0007981/0.0007981, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008238/0.0008238, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8664/0.8664, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.775/1.775, allocations: 390.1 MB / 0.6341 GB, free: 11.58 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.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.287e-05, allocations: 2.281 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001546/0.001558, allocations: 1.382 MB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008251/0.002384, allocations: 0.8489 MB / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.00242, allocations: 0 / 1.004 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.002437, allocations: 7.922 kB / 1.004 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.002513, allocations: 15.86 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.002975, allocations: 222.9 kB / 1.004 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.003052, allocations: 51.78 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.00309, allocations: 15.92 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.003136, allocations: 31.91 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.003195, allocations: 27.91 kB / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.003208, allocations: 0 / 1.004 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.003598, allocations: 371.5 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.003617, allocations: 15.92 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.003641, allocations: 15.98 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.003941, allocations: 307 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.003944, allocations: 4 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.133e-06/0.003945, allocations: 0 / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003949, allocations: 0 / 1.005 GB, free: 8.145 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003709/0.00432, allocations: 349.3 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004353, allocations: 8.031 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.004383, allocations: 30.75 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.004595, allocations: 44.83 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.828e-05/0.004683, allocations: 117.7 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.004697, allocations: 384 / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.004708, allocations: 4.375 kB / 1.005 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.004835, allocations: 66.22 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.004842, allocations: 192 / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.00485, allocations: 4.375 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.004855, allocations: 4.125 kB / 1.005 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.004966, allocations: 43.95 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.005221, allocations: 244 kB / 1.006 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.005737, allocations: 138.4 kB / 1.006 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.005803, allocations: 36.83 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.005814, allocations: 0 / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.005831, allocations: 34.5 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.005832, allocations: 0 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002551/0.006087, allocations: 105.6 kB / 1.006 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.006113, allocations: 59.33 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.599e-05/0.006189, allocations: 133.8 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.006202, allocations: 29.69 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.006241, allocations: 88.09 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/0.00625, allocations: 15.84 kB / 1.006 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.006285, allocations: 29.7 kB / 1.006 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.006357, allocations: 318.8 kB / 1.007 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.006432, allocations: 31.98 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.006507, allocations: 57.69 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.006638, allocations: 92.86 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.00664, allocations: 0 / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000173/0.006813, allocations: 129.5 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006823, allocations: 4 kB / 1.007 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.006834, allocations: 4 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006846, allocations: 3.984 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.006896, allocations: 15.98 kB / 1.007 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.006901, allocations: 8.031 kB / 1.007 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.947e-05/0.00694, allocations: 11.89 kB / 1.007 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.006948, allocations: 11.88 kB / 1.007 GB, free: 5.711 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.007002, allocations: 113.8 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.007019, allocations: 11.89 kB / 1.007 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.007044, allocations: 8 kB / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.007046, allocations: 0 / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.007049, allocations: 0 / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.007052, allocations: 0 / 1.007 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.007153, allocations: 136.8 kB / 1.007 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007153, allocations: 4 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.007192, allocations: 11.98 kB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007195, allocations: 3.938 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.007203, allocations: 3.984 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.007203, allocations: 0 / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007204, allocations: 0 / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.00737, allocations: 179.5 kB / 1.007 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.007381, allocations: 11.95 kB / 1.007 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.007393, allocations: 4 kB / 1.007 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.00744, allocations: 11.98 kB / 1.007 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.007457, allocations: 8 kB / 1.007 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.00746, allocations: 0 / 1.007 GB, free: 5.141 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.007496, allocations: 99.25 kB / 1.007 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007496, allocations: 0 / 1.007 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000167/0.007663, allocations: 23.94 kB / 1.008 GB, free: 5.02 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.008032, allocations: 0.7245 MB / 1.008 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.008217, allocations: 109.6 kB / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.008218, allocations: 4 kB / 1.008 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.008267, allocations: 19.98 kB / 1.008 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.008469, allocations: 7.984 kB / 1.008 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.009582, allocations: 1.491 MB / 1.01 GB, free: 2.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.009625, allocations: 74.41 kB / 1.01 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.00966, allocations: 8 kB / 1.01 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.0097, allocations: 24.95 kB / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.009701, allocations: 0 / 1.01 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.02636, allocations: 3.02 MB / 1.013 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.278/6.305, allocations: 2.781 kB / 1.013 GB, free: 15.55 MB / 0.9792 GB " [Timeout remaining time 294] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_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_InversePowerLaws.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable m_flow_nominal in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.csv. Warning: Get data of variable m_flow_nominal from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.401289595291018]