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.00075/0.00075, 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.0007287/0.0007287, allocations: 169.9 kB / 22.45 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.8695/0.8695, allocations: 177.2 MB / 202.8 MB, free: 5.73 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.724/1.724, allocations: 390.1 MB / 0.6341 GB, free: 11.6 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.623e-06/1.623e-06, allocations: 0 / 1.002 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.998e-05, allocations: 13.09 kB / 1.002 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001624/0.001644, allocations: 1.356 MB / 1.003 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.002449, allocations: 0.8411 MB / 1.004 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.002483, allocations: 0 / 1.004 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.002501, allocations: 7.922 kB / 1.004 GB, free: 8.117 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.002565, allocations: 7.922 kB / 1.004 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.003009, allocations: 210.9 kB / 1.004 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.924e-05/0.003079, allocations: 39.86 kB / 1.004 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.003116, allocations: 3.984 kB / 1.004 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.003159, allocations: 23.92 kB / 1.004 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 3.804e-05/0.003197, allocations: 15.91 kB / 1.004 GB, free: 7.82 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.003209, allocations: 8 kB / 1.004 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.003558, allocations: 371.4 kB / 1.004 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.003574, allocations: 11.94 kB / 1.004 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.003594, allocations: 7.984 kB / 1.004 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.003887, allocations: 295.2 kB / 1.005 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003889, allocations: 0 / 1.005 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00389, allocations: 0 / 1.005 GB, free: 7.141 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003894, allocations: 0 / 1.005 GB, free: 7.141 MB / 0.9167 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.0003324/0.004226, allocations: 345.3 kB / 1.005 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.004263, allocations: 12.03 kB / 1.005 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.004292, allocations: 42.69 kB / 1.005 GB, free: 6.707 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.004445, allocations: 20.91 kB / 1.005 GB, free: 6.688 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.004534, allocations: 113.7 kB / 1.005 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004547, allocations: 384 / 1.005 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.004556, allocations: 384 / 1.005 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.00477, allocations: 46.23 kB / 1.005 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.004776, allocations: 192 / 1.005 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004783, allocations: 384 / 1.005 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00479, allocations: 8.125 kB / 1.005 GB, free: 6.492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.004848, allocations: 23.97 kB / 1.005 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.004961, allocations: 132.7 kB / 1.005 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.526e-05/0.005046, allocations: 46.48 kB / 1.005 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.005079, allocations: 12.92 kB / 1.005 GB, free: 6.227 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.00509, allocations: 4 kB / 1.005 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.005104, allocations: 30.56 kB / 1.005 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.005104, allocations: 0 / 1.005 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.005277, allocations: 69.73 kB / 1.005 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.005302, allocations: 63.34 kB / 1.006 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.005371, allocations: 122 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.00538, allocations: 25.7 kB / 1.006 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.005415, allocations: 92.08 kB / 1.006 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.005428, allocations: 4 kB / 1.006 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.005458, allocations: 25.7 kB / 1.006 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.005526, allocations: 314.8 kB / 1.006 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.884e-05/0.005575, allocations: 19.98 kB / 1.006 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.005611, allocations: 19.98 kB / 1.006 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.005691, allocations: 52.78 kB / 1.006 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.005692, allocations: 0 / 1.006 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001098/0.005802, allocations: 89.56 kB / 1.006 GB, free: 5.238 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.005812, allocations: 4 kB / 1.006 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.005826, allocations: 7.922 kB / 1.006 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.005837, allocations: 7.938 kB / 1.006 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.006252, allocations: 87.81 kB / 1.006 GB, free: 5.133 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.007312, allocations: 1.391 MB / 1.008 GB, free: 3.625 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.007337, allocations: 7.984 kB / 1.008 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.007346, allocations: 7.984 kB / 1.008 GB, free: 3.609 MB / 0.9167 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.788e-05/0.007404, allocations: 114.2 kB / 1.008 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-06/0.007411, allocations: 7.953 kB / 1.008 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.395e-06/0.007419, allocations: 7.625 kB / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-07/0.00742, allocations: 0 / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.007421, allocations: 0 / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.007423, allocations: 96 / 1.008 GB, free: 3.473 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.023e-05/0.007493, allocations: 140.7 kB / 1.008 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007495, allocations: 0 / 1.008 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.007926, allocations: 99.84 kB / 1.008 GB, free: 3.195 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007927, allocations: 4 kB / 1.008 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.007934, allocations: 4 kB / 1.008 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009509/0.008885, allocations: 1.399 MB / 1.009 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008886, allocations: 0 / 1.009 GB, free: 1.68 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.649e-05/0.008972, allocations: 81.09 kB / 1.01 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.008977, allocations: 4 kB / 1.01 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-06/0.008982, allocations: 3.984 kB / 1.01 GB, free: 1.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.009001, allocations: 11.88 kB / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.009019, allocations: 0 / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.009023, allocations: 0 / 1.01 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.009059, allocations: 101.9 kB / 1.01 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009059, allocations: 0 / 1.01 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000163/0.009222, allocations: 23.94 kB / 1.01 GB, free: 1.441 MB / 0.9167 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.0003126/0.009534, allocations: 0.6318 MB / 1.01 GB, free: 0.7812 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.01003, allocations: 153.6 kB / 1.01 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01003, allocations: 0 / 1.01 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.01049, allocations: 123.8 kB / 1.011 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.01065, allocations: 7.922 kB / 1.011 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009638/0.01161, allocations: 1.28 MB / 1.012 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.01165, allocations: 71.27 kB / 1.012 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.01167, allocations: 0 / 1.012 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.01169, allocations: 20.44 kB / 1.012 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of SimCode: time 4.01e-07/0.01169, allocations: 0 / 1.012 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.02597, allocations: 3.073 MB / 1.015 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.112, allocations: 7.125 kB / 1.015 GB, free: 12.1 MB / 0.9323 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.538379614241421]