Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.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.001951/0.001951, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002118/0.002118, allocations: 169.2 kB / 23.23 MB, free: 1.328 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.565/1.565, allocations: 177.2 MB / 203.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 3/3, allocations: 378.2 MB / 0.6232 GB, free: 8.266 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.9828 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.365e-05/3.532e-05, allocations: 2.281 kB / 0.9828 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.002764/0.002799, allocations: 1.324 MB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.00396, allocations: 0.5604 MB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.003991, allocations: 0 / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.00401, allocations: 3.938 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.004045, allocations: 3.938 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.004687, allocations: 167.2 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.004758, allocations: 15.92 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.004801, allocations: 12 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.004857, allocations: 7.984 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.004909, allocations: 11.92 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.004926, allocations: 4 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005508/0.005477, allocations: 315.3 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.005493, allocations: 7.938 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.005515, allocations: 7.984 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.005814, allocations: 163.5 kB / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.005818, allocations: 0 / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005819, allocations: 0 / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.005825, allocations: 0 / 0.9854 GB, free: 14.81 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005037/0.006329, allocations: 296.5 kB / 0.9856 GB, free: 14.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.006372, allocations: 8.031 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.006409, allocations: 4.891 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.006531, allocations: 109.8 kB / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.006542, allocations: 384 / 0.9858 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.00657, allocations: 8.375 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006706, allocations: 63.95 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006714, allocations: 4.125 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006726, allocations: 4.375 kB / 0.9858 GB, free: 14.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006733, allocations: 4.375 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.006782, allocations: 19.86 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.006946, allocations: 101.3 kB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.007154, allocations: 46.61 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.007192, allocations: 12.86 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.007215, allocations: 8.078 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.007244, allocations: 30.56 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.007245, allocations: 0 / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0006545/0.007899, allocations: 221.2 kB / 0.9863 GB, free: 13.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.007955, allocations: 63.28 kB / 0.9863 GB, free: 13.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.446e-05/0.00805, allocations: 105.8 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.008078, allocations: 25.7 kB / 0.9864 GB, free: 13.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.008132, allocations: 80.14 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.008169, allocations: 23.8 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.008215, allocations: 21.67 kB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.008396, allocations: 322.8 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.00842, allocations: 4 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.008446, allocations: 12 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.691e-05/0.008513, allocations: 36.84 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.008514, allocations: 0 / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001162/0.00863, allocations: 69.61 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.008643, allocations: 8 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008647, allocations: 0 / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.008664, allocations: 4.453 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.008721, allocations: 12 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.008728, allocations: 3.938 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.008745, allocations: 0 / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.008753, allocations: 4 kB / 0.987 GB, free: 12.9 MB / 0.948 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.608e-05/0.008849, allocations: 109.8 kB / 0.9871 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.008862, allocations: 3.984 kB / 0.9871 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.009029, allocations: 77.75 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.009033, allocations: 7.984 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.009039, allocations: 3.938 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009042, allocations: 0 / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.009389, allocations: 263.1 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009391, allocations: 0 / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.009461, allocations: 19.94 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.009463, allocations: 0 / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.009473, allocations: 3.938 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.009477, allocations: 4 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009478, allocations: 0 / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.009691, allocations: 176.5 kB / 0.9877 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.009713, allocations: 4 kB / 0.9877 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.009733, allocations: 11.92 kB / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.009802, allocations: 0 / 0.9877 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.009825, allocations: 7.938 kB / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.00983, allocations: 0 / 0.9877 GB, free: 12.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.009884, allocations: 87.27 kB / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009884, allocations: 0 / 0.9878 GB, free: 12.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002698/0.01015, allocations: 27.88 kB / 0.9878 GB, free: 12.04 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004809/0.01063, allocations: 139.7 kB / 0.9879 GB, free: 11.89 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.01074, allocations: 31.98 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01074, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.01077, allocations: 19.92 kB / 0.988 GB, free: 11.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01099, allocations: 8 kB / 0.988 GB, free: 11.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004181/0.01141, allocations: 182 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.01148, allocations: 63.34 kB / 0.9882 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.01151, allocations: 7.938 kB / 0.9882 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.01154, allocations: 12.5 kB / 0.9882 GB, free: 11.52 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.01154, allocations: 0 / 0.9882 GB, free: 11.52 MB / 0.948 GB Notification: Performance of Templates: time 0.003835/0.01537, allocations: 0.8106 MB / 0.989 GB, free: 10.76 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.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: 8.67476719385013]