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.0008434/0.0008434, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009621/0.0009621, allocations: 217.2 kB / 22.25 MB, free: 3.582 MB / 13.93 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.9059/0.9059, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.804/1.804, allocations: 0.5056 GB / 0.8107 GB, free: 1.297 MB / 0.6511 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 0.0009006/0.0009006, allocations: 71.89 kB / 1.178 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6769, allocations: 180.5 MB / 1.354 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001935/0.6788, allocations: 1.391 MB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008843/0.6797, allocations: 0.8519 MB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.832e-05/0.6798, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.6798, allocations: 3.938 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.6799, allocations: 11.86 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.6804, allocations: 219.9 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.6805, allocations: 55.72 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.6805, allocations: 4 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.336e-05/0.6806, allocations: 27.91 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.6806, allocations: 27.84 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.6806, allocations: 4 kB / 1.357 GB, free: 12.35 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.6811, allocations: 371.5 kB / 1.357 GB, free: 11.99 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.6811, allocations: 7.984 kB / 1.357 GB, free: 11.98 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.6811, allocations: 19.88 kB / 1.357 GB, free: 11.96 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.6814, allocations: 273.4 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6814, allocations: 8 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6814, allocations: 0 / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6814, allocations: 0 / 1.358 GB, free: 11.69 MB / 1.042 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.0004051/0.6818, allocations: 345.3 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6819, allocations: 12.03 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.6819, allocations: 30.75 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.6821, allocations: 40.83 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.6822, allocations: 114.5 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6822, allocations: 4.375 kB / 1.358 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.6822, allocations: 4.375 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.6824, allocations: 66.16 kB / 1.358 GB, free: 11.01 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6824, allocations: 3.938 kB / 1.358 GB, free: 11.01 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-06/0.6824, allocations: 0 / 1.358 GB, free: 11.01 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6824, allocations: 4 kB / 1.358 GB, free: 11 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.6825, allocations: 43.95 kB / 1.358 GB, free: 10.96 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.6828, allocations: 239.9 kB / 1.358 GB, free: 10.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005384/0.6833, allocations: 142.4 kB / 1.359 GB, free: 10.54 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.566e-05/0.6834, allocations: 36.77 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6834, allocations: 4 kB / 1.359 GB, free: 10.49 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.6834, allocations: 30.56 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.6834, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0002643/0.6837, allocations: 109.6 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.6837, allocations: 51.41 kB / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.6838, allocations: 131.4 kB / 1.359 GB, free: 10.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.6838, allocations: 25.7 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.6839, allocations: 92.03 kB / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.6839, allocations: 15.84 kB / 1.359 GB, free: 10 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.6839, allocations: 29.7 kB / 1.359 GB, free: 9.965 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.684, allocations: 322.8 kB / 1.359 GB, free: 9.641 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.6841, allocations: 39.91 kB / 1.359 GB, free: 9.602 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.6841, allocations: 53.75 kB / 1.359 GB, free: 9.543 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.6843, allocations: 90.88 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6843, allocations: 3.938 kB / 1.36 GB, free: 9.445 MB / 1.042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001742/0.6844, allocations: 130.2 kB / 1.36 GB, free: 9.312 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.6844, allocations: 7.984 kB / 1.36 GB, free: 9.305 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6845, allocations: 4.031 kB / 1.36 GB, free: 9.301 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.6845, allocations: 4 kB / 1.36 GB, free: 9.297 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.6845, allocations: 11.98 kB / 1.36 GB, free: 9.285 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.6845, allocations: 0 / 1.36 GB, free: 9.285 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.6846, allocations: 11.95 kB / 1.36 GB, free: 9.273 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.6846, allocations: 7.922 kB / 1.36 GB, free: 9.266 MB / 1.042 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 6.161e-05/0.6846, allocations: 123.2 kB / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.6846, allocations: 0 / 1.36 GB, free: 9.137 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.6847, allocations: 8 kB / 1.36 GB, free: 9.121 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6847, allocations: 4 kB / 1.36 GB, free: 9.117 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6847, allocations: 3.938 kB / 1.36 GB, free: 9.113 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6847, allocations: 192 / 1.36 GB, free: 9.113 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.6848, allocations: 144.6 kB / 1.36 GB, free: 8.93 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6848, allocations: 0 / 1.36 GB, free: 8.93 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.6848, allocations: 19.97 kB / 1.36 GB, free: 8.91 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6848, allocations: 3.984 kB / 1.36 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.6848, allocations: 0 / 1.36 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6848, allocations: 0 / 1.36 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6848, allocations: 0 / 1.36 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.685, allocations: 179.5 kB / 1.36 GB, free: 8.715 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.685, allocations: 11.95 kB / 1.36 GB, free: 8.703 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.685, allocations: 3.984 kB / 1.36 GB, free: 8.699 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.6851, allocations: 4 kB / 1.36 GB, free: 8.695 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.6851, allocations: 3.984 kB / 1.36 GB, free: 8.691 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.6851, allocations: 4 kB / 1.36 GB, free: 8.688 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.6851, allocations: 98.08 kB / 1.36 GB, free: 8.594 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6851, allocations: 3.938 kB / 1.36 GB, free: 8.59 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001765/0.6853, allocations: 24 kB / 1.36 GB, free: 8.566 MB / 1.042 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.0003951/0.6857, allocations: 0.7279 MB / 1.361 GB, free: 7.812 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.6859, allocations: 101.6 kB / 1.361 GB, free: 7.707 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6859, allocations: 0 / 1.361 GB, free: 7.707 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.058e-05/0.686, allocations: 23.98 kB / 1.361 GB, free: 7.684 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.6862, allocations: 11.98 kB / 1.361 GB, free: 7.672 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.6874, allocations: 1.496 MB / 1.363 GB, free: 6.09 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.6875, allocations: 67.34 kB / 1.363 GB, free: 6.004 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.6875, allocations: 8 kB / 1.363 GB, free: 5.996 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.6876, allocations: 23.42 kB / 1.363 GB, free: 5.973 MB / 1.042 GB Notification: Performance of SimCode: time 6.51e-07/0.6876, allocations: 0 / 1.363 GB, free: 5.973 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.7019, allocations: 2.897 MB / 1.366 GB, free: 3.223 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.424/7.125, allocations: 0 / 1.366 GB, free: 3.223 MB / 1.042 GB " [Timeout remaining time 293] (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: 11.347988882102072]