Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.002164/0.002164, 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.001981/0.001981, allocations: 170.3 kB / 22.46 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.581/1.581, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.917/3.917, allocations: 440.4 MB / 0.6832 GB, free: 12.71 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 2.625 kB / 1.083 GB, free: 24.11 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.193e-05, allocations: 6.219 kB / 1.083 GB, free: 24.1 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001993/0.002025, allocations: 1.348 MB / 1.084 GB, free: 23.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008791/0.002904, allocations: 0.5637 MB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.00294, allocations: 2.5 kB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.002962, allocations: 7.938 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.002999, allocations: 7.922 kB / 1.085 GB, free: 22.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.00353, allocations: 163.6 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.003595, allocations: 29.19 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.003645, allocations: 6.062 kB / 1.085 GB, free: 22.7 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.003681, allocations: 24.03 kB / 1.085 GB, free: 22.69 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.437e-05/0.003735, allocations: 12.58 kB / 1.085 GB, free: 22.68 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003748, allocations: 4 kB / 1.085 GB, free: 22.68 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.004143, allocations: 318.2 kB / 1.085 GB, free: 22.6 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.004159, allocations: 3.328 kB / 1.085 GB, free: 22.6 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.004181, allocations: 21.23 kB / 1.085 GB, free: 22.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.004417, allocations: 166 kB / 1.086 GB, free: 22.54 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00442, allocations: 0 / 1.086 GB, free: 22.54 MB / 1.01 GB Notification: Performance of FrontEnd: time 6.51e-07/0.00442, allocations: 0 / 1.086 GB, free: 22.54 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.004425, allocations: 3.938 kB / 1.086 GB, free: 22.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003569/0.004782, allocations: 293.1 kB / 1.086 GB, free: 22.24 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.004821, allocations: 8.625 kB / 1.086 GB, free: 22.24 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.004857, allocations: 7.609 kB / 1.086 GB, free: 22.23 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.004922, allocations: 108.5 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.004936, allocations: 3.062 kB / 1.086 GB, free: 22.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.004959, allocations: 7.047 kB / 1.086 GB, free: 22.1 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.005089, allocations: 103.6 kB / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.005102, allocations: 192 / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.005113, allocations: 384 / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.005117, allocations: 3.25 kB / 1.086 GB, free: 22 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.005191, allocations: 26.05 kB / 1.086 GB, free: 21.99 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.005335, allocations: 119.9 kB / 1.086 GB, free: 21.85 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.005438, allocations: 52.3 kB / 1.086 GB, free: 21.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.005478, allocations: 33.61 kB / 1.086 GB, free: 21.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.005503, allocations: 0 / 1.086 GB, free: 21.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.005524, allocations: 33.28 kB / 1.086 GB, free: 21.76 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.005525, allocations: 0 / 1.086 GB, free: 21.76 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.001009/0.006533, allocations: 458.1 kB / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.006561, allocations: 53.69 kB / 1.087 GB, free: 21.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.006614, allocations: 96.48 kB / 1.087 GB, free: 21.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.006626, allocations: 29.7 kB / 1.087 GB, free: 21.22 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.006642, allocations: 82.52 kB / 1.087 GB, free: 21.14 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.006675, allocations: 40.48 kB / 1.087 GB, free: 21.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.006712, allocations: 28.92 kB / 1.087 GB, free: 21.08 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.006766, allocations: 320.7 kB / 1.087 GB, free: 20.77 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.006803, allocations: 14.19 kB / 1.087 GB, free: 20.76 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.006837, allocations: 31.89 kB / 1.087 GB, free: 20.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.843e-05/0.006915, allocations: 53.62 kB / 1.088 GB, free: 20.73 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006916, allocations: 0 / 1.088 GB, free: 20.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001173/0.007033, allocations: 98.23 kB / 1.088 GB, free: 20.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.007057, allocations: 9.438 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.007062, allocations: 3.938 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.00708, allocations: 9.516 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.00718, allocations: 16 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.007187, allocations: 5.609 kB / 1.088 GB, free: 20.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.007212, allocations: 8 kB / 1.088 GB, free: 20.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.007219, allocations: 2.531 kB / 1.088 GB, free: 20.65 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 (13): * Single equations (assignments): 13 * 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 5.076e-05/0.00727, allocations: 112.5 kB / 1.088 GB, free: 20.53 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.007283, allocations: 6.859 kB / 1.088 GB, free: 20.53 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/0.007448, allocations: 107.3 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007451, allocations: 7.938 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007455, allocations: 0 / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.007459, allocations: 2.625 kB / 1.088 GB, free: 20.46 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.007751, allocations: 294.8 kB / 1.088 GB, free: 20.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007754, allocations: 3.094 kB / 1.088 GB, free: 20.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.007855, allocations: 18.38 kB / 1.088 GB, free: 20.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.007858, allocations: 3.938 kB / 1.088 GB, free: 20.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.00787, allocations: 9.719 kB / 1.088 GB, free: 20.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007872, allocations: 0 / 1.088 GB, free: 20.18 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.007872, allocations: 0 / 1.088 GB, free: 20.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.008082, allocations: 220.8 kB / 1.088 GB, free: 20.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.008089, allocations: 2.625 kB / 1.088 GB, free: 20.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.008104, allocations: 11.88 kB / 1.088 GB, free: 20 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.008191, allocations: 2.625 kB / 1.088 GB, free: 20 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.008211, allocations: 5.719 kB / 1.088 GB, free: 20 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.008219, allocations: 6.625 kB / 1.088 GB, free: 20 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.953e-05/0.008239, allocations: 81.14 kB / 1.089 GB, free: 19.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.008239, allocations: 0 / 1.089 GB, free: 19.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002671/0.008506, allocations: 53.19 kB / 1.089 GB, free: 19.91 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.000262/0.008768, allocations: 160.2 kB / 1.089 GB, free: 19.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.008919, allocations: 62.09 kB / 1.089 GB, free: 19.78 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008921, allocations: 0 / 1.089 GB, free: 19.78 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.008965, allocations: 34.78 kB / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.009191, allocations: 8.672 kB / 1.089 GB, free: 19.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.009623, allocations: 243.7 kB / 1.089 GB, free: 19.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.009669, allocations: 71.64 kB / 1.089 GB, free: 19.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.009712, allocations: 17.38 kB / 1.089 GB, free: 19.49 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.009738, allocations: 13.03 kB / 1.089 GB, free: 19.48 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/0.009738, allocations: 0 / 1.089 GB, free: 19.48 MB / 1.01 GB Notification: Performance of Templates: time 0.004082/0.01382, allocations: 1.232 MB / 1.09 GB, free: 19.36 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.909884433960542]