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.0008219/0.0008219, 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.0009605/0.0009605, allocations: 169.9 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.9095/0.9095, allocations: 177.1 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.787/1.787, allocations: 390.1 MB / 0.6341 GB, free: 11.59 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_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 1.363e-06/1.363e-06, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.135e-05, allocations: 6.219 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001841/0.001862, allocations: 1.364 MB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.002737, allocations: 0.8411 MB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.002781, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.0028, allocations: 7.922 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.002877, allocations: 7.922 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.003417, allocations: 214.9 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.401e-05/0.003491, allocations: 39.83 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.00353, allocations: 4 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.003576, allocations: 19.92 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.966e-05/0.003615, allocations: 15.98 kB / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.003627, allocations: 0 / 1.004 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.004034, allocations: 379.3 kB / 1.004 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.004052, allocations: 15.92 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.004076, allocations: 11.98 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.004395, allocations: 287.2 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.004398, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004399, allocations: 0 / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.004404, allocations: 4 kB / 1.005 GB, free: 8.242 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.0003809/0.004785, allocations: 341.3 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.004825, allocations: 11.97 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.004857, allocations: 38.75 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.00503, allocations: 16.91 kB / 1.005 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.005131, allocations: 117.7 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.005146, allocations: 4.375 kB / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.005156, allocations: 384 / 1.005 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.00526, allocations: 46.23 kB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.005266, allocations: 192 / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.005273, allocations: 384 / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005279, allocations: 4.125 kB / 1.005 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.005338, allocations: 23.92 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.005463, allocations: 128.8 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.005557, allocations: 42.61 kB / 1.005 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.005593, allocations: 16.86 kB / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.005605, allocations: 0 / 1.005 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.005623, allocations: 34.56 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.005624, allocations: 0 / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001966/0.00582, allocations: 73.55 kB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.005848, allocations: 55.34 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.005926, allocations: 126 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.005937, allocations: 33.81 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.005972, allocations: 92.08 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.005987, allocations: 3.953 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.006019, allocations: 25.7 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.006094, allocations: 318.8 kB / 1.006 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.006149, allocations: 15.98 kB / 1.006 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.006184, allocations: 23.98 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.006264, allocations: 48.72 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006266, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000116/0.006382, allocations: 89.61 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.006396, allocations: 5.875 kB / 1.006 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.006413, allocations: 7.984 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006426, allocations: 0 / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.006856, allocations: 87.81 kB / 1.006 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.008008, allocations: 1.387 MB / 1.008 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.008038, allocations: 20.06 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008047, allocations: 3.938 kB / 1.008 GB, free: 4.723 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 6.257e-05/0.008109, allocations: 119.3 kB / 1.008 GB, free: 4.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.008119, allocations: 8.031 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.425e-06/0.008128, allocations: 3.625 kB / 1.008 GB, free: 4.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.00813, allocations: 8 kB / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.008131, allocations: 0 / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.008134, allocations: 0 / 1.008 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.832e-05/0.008202, allocations: 132.7 kB / 1.008 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.008205, allocations: 4 kB / 1.008 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.008649, allocations: 103.8 kB / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00865, allocations: 0 / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.008657, allocations: 0 / 1.008 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.009657, allocations: 1.395 MB / 1.009 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009659, allocations: 12.17 kB / 1.009 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.912e-05/0.009748, allocations: 77.02 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-06/0.009755, allocations: 8 kB / 1.01 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-06/0.009761, allocations: 7.922 kB / 1.01 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.00978, allocations: 3.938 kB / 1.01 GB, free: 2.672 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.009801, allocations: 4 kB / 1.01 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.009805, allocations: 0 / 1.01 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.009843, allocations: 98.02 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009843, allocations: 0 / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001889/0.01003, allocations: 27.95 kB / 1.01 GB, free: 2.547 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.0003463/0.01038, allocations: 0.6281 MB / 1.01 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.01091, allocations: 157.5 kB / 1.01 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01091, allocations: 0 / 1.01 GB, free: 1.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.01136, allocations: 115.8 kB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01158, allocations: 11.92 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.01258, allocations: 1.284 MB / 1.012 GB, free: 244 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.01262, allocations: 63.44 kB / 1.012 GB, free: 160 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.01264, allocations: 8 kB / 1.012 GB, free: 152 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.01267, allocations: 12.5 kB / 1.012 GB, free: 140 kB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.01267, allocations: 0 / 1.012 GB, free: 140 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.02889, allocations: 3.072 MB / 1.015 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.208, allocations: 8.156 kB / 1.015 GB, free: 13.23 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.346967928111553]