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.0009502/0.0009502, allocations: 81.69 kB / 19.27 MB, free: 0.5898 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.0008995/0.0008995, allocations: 170 kB / 22.58 MB, free: 1.926 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.8623/0.8623, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.716/1.716, allocations: 390.1 MB / 0.6342 GB, free: 11.56 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.263e-06/1.263e-06, allocations: 0 / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.102e-05, allocations: 6.312 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001465/0.001476, allocations: 1.356 MB / 1.003 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000845/0.002321, allocations: 0.8489 MB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.002354, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002372, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.002447, allocations: 15.84 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.002861, allocations: 210.9 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.436e-05/0.002925, allocations: 39.84 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.002965, allocations: 4 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.003008, allocations: 19.92 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.003053, allocations: 19.97 kB / 1.004 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.003065, allocations: 4 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.00341, allocations: 375.4 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.003423, allocations: 3.938 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.003444, allocations: 15.98 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.003724, allocations: 291.2 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.003726, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003727, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003731, allocations: 0 / 1.005 GB, free: 8.137 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.0003185/0.00405, allocations: 345.3 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.004085, allocations: 8.031 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.004111, allocations: 30.75 kB / 1.005 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.004264, allocations: 36.78 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.004352, allocations: 113.2 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004366, allocations: 4.375 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.004375, allocations: 384 / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.004473, allocations: 46.23 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.00448, allocations: 192 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.004488, allocations: 4.359 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004493, allocations: 4.125 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.762e-05/0.004551, allocations: 19.98 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.004746, allocations: 136.7 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.004832, allocations: 42.48 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.004868, allocations: 16.92 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.004881, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.004898, allocations: 30.56 kB / 1.006 GB, free: 7.184 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.004899, allocations: 4 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.005074, allocations: 65.7 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.005101, allocations: 67.31 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.005168, allocations: 118.1 kB / 1.006 GB, free: 6.902 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.005177, allocations: 29.7 kB / 1.006 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.005209, allocations: 92.08 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.005222, allocations: 3.953 kB / 1.006 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.005251, allocations: 25.7 kB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.005319, allocations: 314.8 kB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.513e-05/0.005364, allocations: 19.98 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.005404, allocations: 23.98 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.51e-05/0.005479, allocations: 48.78 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005481, allocations: 0 / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001069/0.005588, allocations: 85.61 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.005598, allocations: 4 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.005611, allocations: 11.92 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005622, allocations: 0 / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.006037, allocations: 87.83 kB / 1.007 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.007063, allocations: 1.391 MB / 1.008 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.007088, allocations: 15.92 kB / 1.008 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.007096, allocations: 3.984 kB / 1.008 GB, free: 4.613 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 5.338e-05/0.007149, allocations: 113.8 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.007155, allocations: 3.953 kB / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-06/0.007162, allocations: 3.625 kB / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-07/0.007162, allocations: 0 / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.61e-07/0.007163, allocations: 4 kB / 1.008 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.007165, allocations: 0 / 1.008 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.823e-05/0.007223, allocations: 136.8 kB / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007224, allocations: 0 / 1.008 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.007649, allocations: 103.8 kB / 1.008 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.00765, allocations: 4 kB / 1.008 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.007655, allocations: 0 / 1.008 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008964/0.008552, allocations: 1.399 MB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008552, allocations: 0 / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.251e-05/0.008635, allocations: 81.09 kB / 1.01 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.008639, allocations: 4 kB / 1.01 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-06/0.008645, allocations: 7.984 kB / 1.01 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.008663, allocations: 3.938 kB / 1.01 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.00868, allocations: 11.88 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.008683, allocations: 0 / 1.01 GB, free: 2.566 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.008715, allocations: 95.39 kB / 1.01 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008715, allocations: 4 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001492/0.008865, allocations: 27.92 kB / 1.01 GB, free: 2.441 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.0002843/0.009149, allocations: 0.628 MB / 1.011 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.009648, allocations: 157.5 kB / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009649, allocations: 0 / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.01009, allocations: 115.8 kB / 1.011 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.01025, allocations: 19.91 kB / 1.011 GB, free: 1.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008447/0.01109, allocations: 1.284 MB / 1.012 GB, free: 128 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.01112, allocations: 71.34 kB / 1.012 GB, free: 36 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.01114, allocations: 0 / 1.012 GB, free: 36 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.01116, allocations: 12.5 kB / 1.012 GB, free: 24 kB / 0.9636 GB Notification: Performance of SimCode: time 3.7e-07/0.01116, allocations: 0 / 1.012 GB, free: 24 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.02552, allocations: 3.104 MB / 1.015 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.173, allocations: 6.75 kB / 1.015 GB, free: 13.11 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.23514802288264]