Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001922/0.001922, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002124/0.002124, 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 1.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 178] 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 3.873/3.873, allocations: 440.4 MB / 0.6832 GB, free: 12.69 MB / 0.6511 GB " [Timeout remaining time 176] 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.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 1.083 GB, free: 23.89 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.011e-05, allocations: 4.25 kB / 1.083 GB, free: 23.88 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002025/0.002055, allocations: 1.317 MB / 1.084 GB, free: 22.96 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008344/0.00289, allocations: 0.547 MB / 1.085 GB, free: 22.61 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002923, allocations: 0 / 1.085 GB, free: 22.61 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.002943, allocations: 2.625 kB / 1.085 GB, free: 22.61 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.002988, allocations: 7.922 kB / 1.085 GB, free: 22.61 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.003489, allocations: 164.4 kB / 1.085 GB, free: 22.53 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.003547, allocations: 13.12 kB / 1.085 GB, free: 22.52 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.0036, allocations: 10.61 kB / 1.085 GB, free: 22.51 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.00363, allocations: 5.297 kB / 1.085 GB, free: 22.51 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.127e-05/0.003681, allocations: 2.625 kB / 1.085 GB, free: 22.51 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.003692, allocations: 0 / 1.085 GB, free: 22.51 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.004079, allocations: 305.3 kB / 1.085 GB, free: 22.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.004093, allocations: 14.48 kB / 1.085 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.004109, allocations: 0 / 1.085 GB, free: 22.43 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.00433, allocations: 150.1 kB / 1.085 GB, free: 22.39 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.004335, allocations: 2.625 kB / 1.085 GB, free: 22.39 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.153e-06/0.004336, allocations: 4 kB / 1.085 GB, free: 22.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.004341, allocations: 3.938 kB / 1.085 GB, free: 22.38 MB / 1.01 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.0003489/0.004689, allocations: 274.6 kB / 1.086 GB, free: 22.09 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.004729, allocations: 14.52 kB / 1.086 GB, free: 22.09 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.00476, allocations: 0.9375 kB / 1.086 GB, free: 22.09 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.004832, allocations: 112.3 kB / 1.086 GB, free: 21.96 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.004845, allocations: 384 / 1.086 GB, free: 21.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.004854, allocations: 384 / 1.086 GB, free: 21.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.428e-05/0.004938, allocations: 31.52 kB / 1.086 GB, free: 21.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.004948, allocations: 8.125 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.004958, allocations: 384 / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004962, allocations: 384 / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.00499, allocations: 10.03 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.005095, allocations: 99.95 kB / 1.086 GB, free: 21.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.005148, allocations: 23.83 kB / 1.086 GB, free: 21.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.005164, allocations: 7.484 kB / 1.086 GB, free: 21.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.005187, allocations: 6.094 kB / 1.086 GB, free: 21.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.005204, allocations: 30.56 kB / 1.086 GB, free: 21.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.005205, allocations: 0 / 1.086 GB, free: 21.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.00535, allocations: 52.09 kB / 1.086 GB, free: 21.67 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.005377, allocations: 51.41 kB / 1.086 GB, free: 21.61 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.005428, allocations: 99.7 kB / 1.086 GB, free: 21.51 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.005434, allocations: 25.7 kB / 1.086 GB, free: 21.48 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.375e-05/0.005448, allocations: 82.77 kB / 1.086 GB, free: 21.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.00547, allocations: 7.953 kB / 1.086 GB, free: 21.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.005492, allocations: 12.34 kB / 1.086 GB, free: 21.37 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.005549, allocations: 310.8 kB / 1.087 GB, free: 21.06 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.005561, allocations: 6.094 kB / 1.087 GB, free: 21.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.005569, allocations: 2.875 kB / 1.087 GB, free: 21.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.005594, allocations: 22.11 kB / 1.087 GB, free: 21.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005596, allocations: 0 / 1.087 GB, free: 21.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.498e-05/0.005641, allocations: 41.52 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.005652, allocations: 5.25 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.005658, allocations: 5.859 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.005672, allocations: 0 / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.005822, allocations: 7.875 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000231/0.006053, allocations: 0.5896 MB / 1.087 GB, free: 20.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.00607, allocations: 4.125 kB / 1.087 GB, free: 20.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006075, allocations: 3.938 kB / 1.087 GB, free: 20.4 MB / 1.01 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 (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 prepare postOptimizeDAE: time 5.192e-05/0.006127, allocations: 110.7 kB / 1.087 GB, free: 20.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.006134, allocations: 3.938 kB / 1.087 GB, free: 20.28 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.006223, allocations: 46.98 kB / 1.088 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006224, allocations: 0 / 1.088 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.006229, allocations: 4 kB / 1.088 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006232, allocations: 0 / 1.088 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.39e-05/0.006276, allocations: 103.4 kB / 1.088 GB, free: 20.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006277, allocations: 4.031 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.00634, allocations: 7.875 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.006343, allocations: 5.719 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006349, allocations: 3.938 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00018/0.006529, allocations: 0.5863 MB / 1.088 GB, free: 19.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.00653, allocations: 0 / 1.088 GB, free: 19.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.388e-05/0.006584, allocations: 66.48 kB / 1.088 GB, free: 19.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.00659, allocations: 2.625 kB / 1.088 GB, free: 19.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.0066, allocations: 128 / 1.088 GB, free: 19.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.416e-05/0.006614, allocations: 4 kB / 1.088 GB, free: 19.44 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.006629, allocations: 2.953 kB / 1.088 GB, free: 19.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.006631, allocations: 2.906 kB / 1.088 GB, free: 19.44 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.618e-05/0.006647, allocations: 79.22 kB / 1.088 GB, free: 19.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.006647, allocations: 0 / 1.088 GB, free: 19.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001927/0.00684, allocations: 17.06 kB / 1.088 GB, free: 19.36 MB / 1.01 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.0001901/0.00703, allocations: 116.5 kB / 1.088 GB, free: 19.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.007183, allocations: 23.67 kB / 1.089 GB, free: 19.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.007185, allocations: 0 / 1.089 GB, free: 19.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.00726, allocations: 18.03 kB / 1.089 GB, free: 19.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.00741, allocations: 3.938 kB / 1.089 GB, free: 19.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.007684, allocations: 111.2 kB / 1.089 GB, free: 19.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.007718, allocations: 54.11 kB / 1.089 GB, free: 19.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 1.599e-05/0.007733, allocations: 3.188 kB / 1.089 GB, free: 19.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.007749, allocations: 15.22 kB / 1.089 GB, free: 19.05 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/0.007749, allocations: 0 / 1.089 GB, free: 19.05 MB / 1.01 GB Notification: Performance of Templates: time 0.00322/0.01097, allocations: 0.5542 MB / 1.089 GB, free: 19.01 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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: 10.21381448302418]