Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.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.001089/0.001089, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002546, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001034/0.001034, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002345, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.8795/0.8795, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07781/0.9573, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.381/2.381, allocations: 440.5 MB / 0.6683 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2431/2.624, allocations: 143.9 MB / 0.8089 GB, free: 12.41 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8102 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.219e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.001473/0.001485, allocations: 1.456 MB / 0.8116 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008699/0.002355, allocations: 0.9731 MB / 0.8125 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.002384, allocations: 0 / 0.8125 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.057e-06/0.002393, allocations: 3.938 kB / 0.8125 GB, free: 8.629 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.002427, allocations: 11.92 kB / 0.8126 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.002846, allocations: 258.7 kB / 0.8128 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.002916, allocations: 43.8 kB / 0.8128 GB, free: 8.32 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.002949, allocations: 3.938 kB / 0.8128 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.003013, allocations: 23.97 kB / 0.8129 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.003057, allocations: 15.94 kB / 0.8129 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.003067, allocations: 0 / 0.8129 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.003692, allocations: 0.5071 MB / 0.8134 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.003706, allocations: 4 kB / 0.8134 GB, free: 7.766 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003728, allocations: 11.94 kB / 0.8134 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.004044, allocations: 283.3 kB / 0.8137 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.004054, allocations: 0 / 0.8137 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.6e-07/0.004054, allocations: 0 / 0.8137 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.004065, allocations: 0 / 0.8137 GB, free: 7.477 MB / 0.7917 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.0003587/0.004423, allocations: 347.5 kB / 0.814 GB, free: 7.113 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.004451, allocations: 8.625 kB / 0.814 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.004479, allocations: 4.938 kB / 0.814 GB, free: 7.102 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.00456, allocations: 117.7 kB / 0.8141 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.00457, allocations: 4.359 kB / 0.8141 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.004581, allocations: 4.359 kB / 0.8141 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.691e-05/0.004638, allocations: 30.27 kB / 0.8142 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.004643, allocations: 192 / 0.8142 GB, free: 6.918 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.004649, allocations: 4.125 kB / 0.8142 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.004653, allocations: 0 / 0.8142 GB, free: 6.914 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.155e-05/0.004664, allocations: 4 kB / 0.8142 GB, free: 6.91 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.07e-05/0.004735, allocations: 65 kB / 0.8142 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.004778, allocations: 26.53 kB / 0.8143 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.004791, allocations: 12.92 kB / 0.8143 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.004805, allocations: 0 / 0.8143 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.004823, allocations: 34.56 kB / 0.8143 GB, free: 6.738 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 4.8e-07/0.004824, allocations: 4 kB / 0.8143 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 7.798e-05/0.004902, allocations: 33.64 kB / 0.8143 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.004929, allocations: 59.39 kB / 0.8144 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.33e-05/0.004992, allocations: 129.3 kB / 0.8145 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.005002, allocations: 33.7 kB / 0.8145 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.005027, allocations: 92.06 kB / 0.8146 GB, free: 6.355 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.005043, allocations: 8.016 kB / 0.8146 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.005068, allocations: 25.7 kB / 0.8147 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.005137, allocations: 322.8 kB / 0.815 GB, free: 5.992 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.005148, allocations: 4 kB / 0.815 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.005158, allocations: 8 kB / 0.815 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.00519, allocations: 28.78 kB / 0.815 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.005192, allocations: 0 / 0.815 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.042e-05/0.005242, allocations: 57.62 kB / 0.8151 GB, free: 5.887 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.005252, allocations: 4 kB / 0.8151 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.005263, allocations: 0 / 0.8151 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.005271, allocations: 4 kB / 0.8151 GB, free: 5.879 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.00539, allocations: 16 kB / 0.8151 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002427/0.005633, allocations: 0.5898 MB / 0.8157 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.00565, allocations: 7.953 kB / 0.8157 GB, free: 5.242 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.005655, allocations: 0 / 0.8157 GB, free: 5.242 MB / 0.7917 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 4.805e-05/0.005703, allocations: 105.8 kB / 0.8158 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.005711, allocations: 11.88 kB / 0.8158 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.005776, allocations: 49.25 kB / 0.8158 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005778, allocations: 0 / 0.8158 GB, free: 5.062 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005779, allocations: 4.094 kB / 0.8158 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005782, allocations: 0 / 0.8158 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.111e-05/0.005833, allocations: 77.81 kB / 0.8159 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005834, allocations: 0 / 0.8159 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.005882, allocations: 8 kB / 0.8159 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005883, allocations: 0 / 0.8159 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-06/0.005887, allocations: 3.984 kB / 0.8159 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001719/0.006059, allocations: 0.5976 MB / 0.8165 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.00606, allocations: 0 / 0.8165 GB, free: 4.332 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.088e-05/0.006101, allocations: 65.12 kB / 0.8166 GB, free: 4.25 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.006112, allocations: 11.95 kB / 0.8166 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-06/0.006119, allocations: 0 / 0.8166 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-06/0.006126, allocations: 0 / 0.8166 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.006137, allocations: 0 / 0.8166 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.006138, allocations: 0 / 0.8166 GB, free: 4.238 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.581e-05/0.006154, allocations: 20.84 kB / 0.8166 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.006154, allocations: 0 / 0.8166 GB, free: 4.215 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001425/0.006297, allocations: 51.8 kB / 0.8167 GB, free: 4.164 MB / 0.7917 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.0001721/0.006469, allocations: 144.1 kB / 0.8168 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.921e-05/0.006568, allocations: 58.55 kB / 0.8168 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.006571, allocations: 0 / 0.8168 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.006592, allocations: 16.84 kB / 0.8169 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.006695, allocations: 20.02 kB / 0.8169 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.006938, allocations: 158.3 kB / 0.817 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.006979, allocations: 75.39 kB / 0.8171 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.007023, allocations: 51.38 kB / 0.8172 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of SimCode: time 4.81e-07/0.007023, allocations: 0 / 0.8172 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of Templates: time 0.001652/0.008675, allocations: 1.143 MB / 0.8183 GB, free: 2.445 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.ref.csv","",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.626841493882239]