Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.0007674/0.0007674, 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.0008858/0.0008858, allocations: 214.5 kB / 22.25 MB, free: 3.574 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.9208/0.9208, allocations: 230.6 MB / 256 MB, free: 9.621 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.906/1.906, allocations: 0.5056 GB / 0.8107 GB, free: 1.266 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.InvertingPowerLaw_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000835/0.000835, allocations: 64.14 kB / 1.178 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7051, allocations: 180.5 MB / 1.354 GB, free: 14.92 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002033/0.7071, allocations: 1.361 MB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.7081, allocations: 0.8517 MB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.7082, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.7082, allocations: 7.922 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.916e-05/0.7082, allocations: 7.922 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.7087, allocations: 213.2 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.7087, allocations: 43.84 kB / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.7088, allocations: 0 / 1.357 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.7088, allocations: 11.94 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.7089, allocations: 19.92 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.7089, allocations: 0 / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.7092, allocations: 371.5 kB / 1.357 GB, free: 12.04 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.7092, allocations: 15.92 kB / 1.357 GB, free: 12.02 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.7093, allocations: 11.94 kB / 1.357 GB, free: 12.01 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.7096, allocations: 269.6 kB / 1.357 GB, free: 11.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7096, allocations: 0 / 1.357 GB, free: 11.75 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.594e-06/0.7096, allocations: 0 / 1.357 GB, free: 11.75 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.7096, allocations: 0 / 1.357 GB, free: 11.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003744/0.7099, allocations: 337.4 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.71, allocations: 8.031 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.71, allocations: 34.69 kB / 1.358 GB, free: 11.33 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.7102, allocations: 20.91 kB / 1.358 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.7103, allocations: 118.4 kB / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.7103, allocations: 384 / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.7103, allocations: 384 / 1.358 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.7104, allocations: 46.23 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7104, allocations: 3.938 kB / 1.358 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.7104, allocations: 4 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7104, allocations: 0 / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.804e-05/0.7105, allocations: 15.98 kB / 1.358 GB, free: 11.1 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.7106, allocations: 140.8 kB / 1.358 GB, free: 10.92 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.7107, allocations: 46.44 kB / 1.358 GB, free: 10.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.7107, allocations: 20.84 kB / 1.358 GB, free: 10.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.7108, allocations: 0 / 1.358 GB, free: 10.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.7108, allocations: 30.56 kB / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 5.92e-07/0.7108, allocations: 0 / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.711, allocations: 77.5 kB / 1.358 GB, free: 10.72 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.711, allocations: 51.41 kB / 1.358 GB, free: 10.66 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.7111, allocations: 122.2 kB / 1.358 GB, free: 10.52 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.7111, allocations: 33.7 kB / 1.359 GB, free: 10.48 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.208e-05/0.7111, allocations: 88.09 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.7111, allocations: 3.938 kB / 1.359 GB, free: 10.39 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.7111, allocations: 25.7 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.7112, allocations: 318.8 kB / 1.359 GB, free: 10.04 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.948e-05/0.7113, allocations: 20 kB / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.7113, allocations: 19.92 kB / 1.359 GB, free: 10 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.7114, allocations: 56.77 kB / 1.359 GB, free: 9.941 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7114, allocations: 0 / 1.359 GB, free: 9.941 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001135/0.7115, allocations: 97.5 kB / 1.359 GB, free: 9.84 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7115, allocations: 7.938 kB / 1.359 GB, free: 9.832 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.7115, allocations: 0 / 1.359 GB, free: 9.832 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.7116, allocations: 4 kB / 1.359 GB, free: 9.828 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.712, allocations: 75.88 kB / 1.359 GB, free: 9.754 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.7131, allocations: 1.403 MB / 1.361 GB, free: 8.234 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.7131, allocations: 16.05 kB / 1.361 GB, free: 8.219 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.7131, allocations: 4 kB / 1.361 GB, free: 8.215 MB / 1.042 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.883e-05/0.7132, allocations: 111.3 kB / 1.361 GB, free: 8.098 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.7132, allocations: 7.953 kB / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-06/0.7132, allocations: 3.625 kB / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.41e-07/0.7132, allocations: 0 / 1.361 GB, free: 8.09 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.7132, allocations: 3.984 kB / 1.361 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.7132, allocations: 0 / 1.361 GB, free: 8.086 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.486e-05/0.7133, allocations: 140.7 kB / 1.361 GB, free: 7.906 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7133, allocations: 0 / 1.361 GB, free: 7.906 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.7137, allocations: 99.86 kB / 1.361 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7137, allocations: 4 kB / 1.361 GB, free: 7.805 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.7137, allocations: 0 / 1.361 GB, free: 7.805 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.7148, allocations: 1.395 MB / 1.362 GB, free: 6.301 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7148, allocations: 4.156 kB / 1.362 GB, free: 6.297 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.301e-05/0.7149, allocations: 81.14 kB / 1.362 GB, free: 6.199 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.7149, allocations: 7.891 kB / 1.362 GB, free: 6.191 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-06/0.7149, allocations: 4 kB / 1.362 GB, free: 6.188 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.7149, allocations: 0 / 1.362 GB, free: 6.188 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.7149, allocations: 7.922 kB / 1.362 GB, free: 6.18 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.7149, allocations: 11.94 kB / 1.362 GB, free: 6.168 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.7149, allocations: 94.02 kB / 1.363 GB, free: 6.078 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7149, allocations: 0 / 1.363 GB, free: 6.078 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001549/0.7151, allocations: 24.03 kB / 1.363 GB, free: 6.055 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 (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.0003135/0.7154, allocations: 0.6299 MB / 1.363 GB, free: 5.395 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.7159, allocations: 157.5 kB / 1.363 GB, free: 5.234 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7159, allocations: 3.938 kB / 1.363 GB, free: 5.23 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.7164, allocations: 119.8 kB / 1.363 GB, free: 5.113 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.7166, allocations: 8 kB / 1.363 GB, free: 5.105 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.7175, allocations: 1.28 MB / 1.365 GB, free: 3.746 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.343e-05/0.7175, allocations: 63.34 kB / 1.365 GB, free: 3.664 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.7175, allocations: 12.16 kB / 1.365 GB, free: 3.652 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.7175, allocations: 15.44 kB / 1.365 GB, free: 3.637 MB / 1.042 GB Notification: Performance of SimCode: time 8.51e-07/0.7175, allocations: 0 / 1.365 GB, free: 3.637 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.7326, allocations: 2.928 MB / 1.368 GB, free: 0.8555 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.793, allocations: 3.969 kB / 1.368 GB, free: 0.8555 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_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_m_flow.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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: 12.186086488887668]