Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.002002/0.002002, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00255/0.00255, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.458/1.458, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.759/2.759, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.746e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00256/0.002587, allocations: 1.279 MB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003704, allocations: 0.5244 MB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.003728, allocations: 0.7812 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.003754, allocations: 3.938 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.003802, allocations: 4.625 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.004436, allocations: 140.5 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.004491, allocations: 13.03 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.004524, allocations: 0 / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.004556, allocations: 7.984 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.686e-05/0.004613, allocations: 12.5 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.004628, allocations: 4 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.005103, allocations: 262.2 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.005119, allocations: 3.938 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.005147, allocations: 11.98 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.005452, allocations: 139.6 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005454, allocations: 0 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.855e-06/0.005457, allocations: 7.922 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.005461, allocations: 4 kB / 0.7887 GB, free: 10.4 MB / 0.7448 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.0004379/0.005899, allocations: 271.5 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005935, allocations: 8.031 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.005974, allocations: 0.9375 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.006092, allocations: 114.3 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.006105, allocations: 384 / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.006112, allocations: 1.188 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.493e-05/0.006207, allocations: 34.25 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006215, allocations: 1.031 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.006222, allocations: 384 / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.006229, allocations: 6.188 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.006255, allocations: 3.938 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.006409, allocations: 101.3 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.00647, allocations: 22.55 kB / 0.7893 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.006496, allocations: 14.45 kB / 0.7893 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.006519, allocations: 3.984 kB / 0.7893 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.006554, allocations: 34.56 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006555, allocations: 0 / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.006717, allocations: 43.56 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.006762, allocations: 51.41 kB / 0.7894 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.006854, allocations: 101.8 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.006873, allocations: 28.27 kB / 0.7895 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.006917, allocations: 84.08 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.006945, allocations: 11.89 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.006981, allocations: 13.72 kB / 0.7896 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.007139, allocations: 310.8 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.00715, allocations: 4 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.007161, allocations: 4 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.0072, allocations: 18.09 kB / 0.79 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.007201, allocations: 3.938 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.29e-05/0.007274, allocations: 38.23 kB / 0.79 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.00729, allocations: 5.625 kB / 0.79 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.007294, allocations: 4 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.007315, allocations: 3.984 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.007486, allocations: 15.92 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005475/0.008034, allocations: 0.5826 MB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.008053, allocations: 0.6875 kB / 0.7906 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.008062, allocations: 4.688 kB / 0.7906 GB, free: 8.301 MB / 0.7448 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 9.055e-05/0.008153, allocations: 110.9 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.008165, allocations: 3.938 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.008277, allocations: 50.31 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008279, allocations: 0 / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008284, allocations: 4 kB / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.008286, allocations: 0 / 0.7908 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.008395, allocations: 102.4 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.008398, allocations: 4 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.433e-05/0.008473, allocations: 4 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.008478, allocations: 4.625 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.008486, allocations: 4.906 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004304/0.008917, allocations: 0.5868 MB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008918, allocations: 0 / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.009022, allocations: 70.64 kB / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.009029, allocations: 0 / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.009042, allocations: 3.984 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.841e-05/0.009061, allocations: 4 kB / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.009072, allocations: 0.9375 kB / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.009075, allocations: 0 / 0.7915 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.009122, allocations: 81.41 kB / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.009122, allocations: 0 / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002124/0.009335, allocations: 11.94 kB / 0.7916 GB, free: 7.184 MB / 0.7448 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.0001802/0.009515, allocations: 107.2 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001659/0.009681, allocations: 22.14 kB / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009683, allocations: 0 / 0.7917 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.009774, allocations: 19.92 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.009924, allocations: 11.88 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.01029, allocations: 105.7 kB / 0.7919 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01035, allocations: 56.42 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.01036, allocations: 1.094 kB / 0.7919 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.01039, allocations: 8.5 kB / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01039, allocations: 0 / 0.7919 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.002987/0.01337, allocations: 498.4 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: 7.7344824420288205]