Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00194/0.00194, allocations: 84.44 kB / 19.17 MB, free: 0.7305 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.002143/0.002143, allocations: 166.3 kB / 22.45 MB, free: 2.102 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.585/1.585, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.811/3.811, allocations: 440.4 MB / 0.6832 GB, free: 12.68 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.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 1.083 GB, free: 24.1 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.541e-05, allocations: 2.281 kB / 1.083 GB, free: 24.1 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001857/0.001882, allocations: 1.341 MB / 1.084 GB, free: 23.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008611/0.002743, allocations: 0.5675 MB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.002787, allocations: 0 / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.002808, allocations: 0 / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.002844, allocations: 7.875 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.003375, allocations: 167.9 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.003445, allocations: 17.81 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.003491, allocations: 6.734 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.003546, allocations: 16.84 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.003595, allocations: 9.781 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.00361, allocations: 2.969 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.004013, allocations: 311.8 kB / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.004028, allocations: 4 kB / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.00405, allocations: 9.406 kB / 1.085 GB, free: 22.61 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.004288, allocations: 161.3 kB / 1.086 GB, free: 22.56 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004291, allocations: 2.969 kB / 1.086 GB, free: 22.56 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004292, allocations: 0 / 1.086 GB, free: 22.56 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004296, allocations: 0 / 1.086 GB, free: 22.56 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003679/0.004664, allocations: 280.4 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.004712, allocations: 15.03 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.00475, allocations: 4.891 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.134e-05/0.004821, allocations: 112.3 kB / 1.086 GB, free: 22.13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.004836, allocations: 7.062 kB / 1.086 GB, free: 22.13 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.004858, allocations: 384 / 1.086 GB, free: 22.13 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.004964, allocations: 66.94 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.004973, allocations: 4.172 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.004984, allocations: 3.703 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004989, allocations: 2.656 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.312e-05/0.005032, allocations: 13.06 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.005147, allocations: 105.3 kB / 1.086 GB, free: 21.93 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.005329, allocations: 47.19 kB / 1.086 GB, free: 21.89 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.005361, allocations: 14.58 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.005383, allocations: 6.031 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.005398, allocations: 34.56 kB / 1.086 GB, free: 21.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005398, allocations: 2.656 kB / 1.086 GB, free: 21.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.000508/0.005907, allocations: 227.9 kB / 1.086 GB, free: 21.65 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.00593, allocations: 55.34 kB / 1.087 GB, free: 21.58 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.415e-05/0.005975, allocations: 99.3 kB / 1.087 GB, free: 21.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005984, allocations: 25.7 kB / 1.087 GB, free: 21.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.503e-05/0.005999, allocations: 84.14 kB / 1.087 GB, free: 21.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.006024, allocations: 25.94 kB / 1.087 GB, free: 21.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.006055, allocations: 23.23 kB / 1.087 GB, free: 21.32 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.006096, allocations: 317 kB / 1.087 GB, free: 21.01 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.006119, allocations: 9.75 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.006138, allocations: 12.98 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.006186, allocations: 37.38 kB / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006187, allocations: 0 / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.899e-05/0.006266, allocations: 64.7 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.006277, allocations: 5.375 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.006281, allocations: 4 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.006296, allocations: 0 / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.006346, allocations: 18.73 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.006351, allocations: 3.938 kB / 1.087 GB, free: 20.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.006368, allocations: 0 / 1.087 GB, free: 20.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.006373, allocations: 2.531 kB / 1.087 GB, free: 20.92 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 (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 4.283e-05/0.006416, allocations: 116.5 kB / 1.087 GB, free: 20.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.006426, allocations: 0 / 1.087 GB, free: 20.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.006547, allocations: 77.41 kB / 1.087 GB, free: 20.75 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006549, allocations: 2.656 kB / 1.087 GB, free: 20.75 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006554, allocations: 3.938 kB / 1.087 GB, free: 20.74 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006556, allocations: 4 kB / 1.087 GB, free: 20.74 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.006768, allocations: 263.3 kB / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006769, allocations: 0 / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/0.006827, allocations: 10.44 kB / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006829, allocations: 2.594 kB / 1.088 GB, free: 20.48 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.006837, allocations: 7.938 kB / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006838, allocations: 0 / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.00684, allocations: 5.922 kB / 1.088 GB, free: 20.47 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.006968, allocations: 174.8 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.006988, allocations: 13.84 kB / 1.088 GB, free: 20.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.007001, allocations: 8.031 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.007072, allocations: 3 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.007088, allocations: 6.031 kB / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.007092, allocations: 0 / 1.088 GB, free: 20.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.007112, allocations: 85.97 kB / 1.088 GB, free: 20.22 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007112, allocations: 0 / 1.088 GB, free: 20.22 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002329/0.007345, allocations: 35.62 kB / 1.088 GB, free: 20.21 MB / 1.01 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.0001998/0.007544, allocations: 132.3 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.007635, allocations: 35.91 kB / 1.088 GB, free: 20.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007636, allocations: 4 kB / 1.088 GB, free: 20.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.007661, allocations: 20 kB / 1.088 GB, free: 20.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.007875, allocations: 5.422 kB / 1.088 GB, free: 20.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.008209, allocations: 169.9 kB / 1.088 GB, free: 19.93 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.008249, allocations: 69.91 kB / 1.088 GB, free: 19.86 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.008276, allocations: 6.75 kB / 1.088 GB, free: 19.86 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.008296, allocations: 14.12 kB / 1.088 GB, free: 19.85 MB / 1.01 GB Notification: Performance of SimCode: time 4.61e-07/0.008296, allocations: 0 / 1.088 GB, free: 19.85 MB / 1.01 GB Notification: Performance of Templates: time 0.003521/0.01182, allocations: 0.8157 MB / 1.089 GB, free: 19.77 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck/Buildings_latest_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: 9.98320975783281]