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.0008238/0.0008238, allocations: 76.25 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0008776/0.0008776, allocations: 173.9 kB / 23.34 MB, free: 1.184 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.9052/0.9052, allocations: 177.2 MB / 203.7 MB, free: 5.727 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.857/1.857, allocations: 390.1 MB / 0.635 GB, free: 11.58 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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.193e-05, allocations: 2.312 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001602/0.001624, allocations: 1.364 MB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009607/0.002585, allocations: 0.8373 MB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.834e-05/0.002623, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.002641, allocations: 7.875 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.002721, allocations: 7.984 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.003226, allocations: 210.9 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.003295, allocations: 43.8 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.003334, allocations: 0 / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.288e-05/0.003377, allocations: 27.91 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.003419, allocations: 11.98 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.003431, allocations: 4 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.003811, allocations: 375.4 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.003827, allocations: 7.984 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.003847, allocations: 7.938 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.004138, allocations: 307.1 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00414, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004141, allocations: 0 / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004145, allocations: 0 / 1.006 GB, free: 7.633 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.0003484/0.004493, allocations: 337.4 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.004526, allocations: 12.03 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.004699, allocations: 20.91 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004801, allocations: 117.7 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.004816, allocations: 384 / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.004824, allocations: 384 / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.004923, allocations: 46.23 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00493, allocations: 192 / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.004939, allocations: 384 / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004944, allocations: 384 / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.19e-05/0.005006, allocations: 31.86 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.005123, allocations: 113.3 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.659e-05/0.00521, allocations: 42.55 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.005244, allocations: 12.92 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005258, allocations: 0 / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.005276, allocations: 34.56 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.005277, allocations: 0 / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.005464, allocations: 73.67 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.005492, allocations: 59.41 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.373e-05/0.005566, allocations: 126 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.005577, allocations: 25.7 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.005608, allocations: 88.09 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.005624, allocations: 11.89 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.005655, allocations: 25.7 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.005732, allocations: 314.8 kB / 1.008 GB, free: 6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.015e-05/0.005783, allocations: 19.98 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.00582, allocations: 23.97 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.005899, allocations: 52.78 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0059, allocations: 0 / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001152/0.006016, allocations: 85.55 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.006029, allocations: 10.5 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.006042, allocations: 3.984 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.006054, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.006486, allocations: 87.88 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.007598, allocations: 1.376 MB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.007627, allocations: 11.92 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007634, allocations: 3.984 kB / 1.009 GB, free: 4.223 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.642e-05/0.007691, allocations: 109.8 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.007699, allocations: 7.891 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-06/0.007707, allocations: 11.62 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.007708, allocations: 0 / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.01e-07/0.007709, allocations: 0 / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.007711, allocations: 0 / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.301e-05/0.007764, allocations: 113.4 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.007766, allocations: 0 / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004524/0.008218, allocations: 95.86 kB / 1.009 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008219, allocations: 4 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.008227, allocations: 7.922 kB / 1.009 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009654/0.009193, allocations: 1.38 MB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.009193, allocations: 0 / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.199e-05/0.009285, allocations: 84.94 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-06/0.00929, allocations: 8.078 kB / 1.011 GB, free: 2.254 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-06/0.009296, allocations: 4 kB / 1.011 GB, free: 2.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.009317, allocations: 7.984 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.009334, allocations: 0 / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.009338, allocations: 4 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.009377, allocations: 102.5 kB / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009377, allocations: 0 / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001658/0.009543, allocations: 20 kB / 1.011 GB, free: 2.121 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.0001308/0.009673, allocations: 115.2 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.0102, allocations: 153.5 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01021, allocations: 0 / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.01068, allocations: 123.8 kB / 1.011 GB, free: 1.723 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.01084, allocations: 15.92 kB / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.01113, allocations: 124.5 kB / 1.012 GB, free: 1.559 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01118, allocations: 71.38 kB / 1.012 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.0112, allocations: 8.062 kB / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.01121, allocations: 8.5 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of SimCode: time 6.61e-07/0.01121, allocations: 0 / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of Templates: time 0.002953/0.01417, allocations: 1.406 MB / 1.013 GB, free: 72 kB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/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: 5.1956414226442575]