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.002379/0.002379, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002817/0.002817, allocations: 226.3 kB / 22.25 MB, free: 3.574 MB / 13.93 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.746/1.746, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.983/3.983, allocations: 0.5708 GB / 0.8759 GB, free: 16.43 MB / 0.6667 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 0.003926/0.003926, allocations: 77.98 kB / 1.276 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.479, allocations: 196.8 MB / 1.468 GB, free: 2.664 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.002754/0.4818, allocations: 1.352 MB / 1.469 GB, free: 1.297 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.483, allocations: 0.5663 MB / 1.47 GB, free: 0.7305 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.4831, allocations: 0 / 1.47 GB, free: 0.7305 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.4831, allocations: 0 / 1.47 GB, free: 0.7305 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 4.144e-05/0.4831, allocations: 3.938 kB / 1.47 GB, free: 0.7266 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.4837, allocations: 159.4 kB / 1.47 GB, free: 0.5703 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.4838, allocations: 23.88 kB / 1.47 GB, free: 0.5469 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.4839, allocations: 4 kB / 1.47 GB, free: 0.543 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.4839, allocations: 11.97 kB / 1.47 GB, free: 0.5312 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.484, allocations: 11.94 kB / 1.47 GB, free: 0.5195 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.484, allocations: 0 / 1.47 GB, free: 0.5195 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.4845, allocations: 311.4 kB / 1.47 GB, free: 220 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.4845, allocations: 4 kB / 1.47 GB, free: 216 kB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.4846, allocations: 4 kB / 1.47 GB, free: 212 kB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.4848, allocations: 147.5 kB / 1.47 GB, free: 64 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4849, allocations: 0 / 1.47 GB, free: 64 kB / 1.135 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4849, allocations: 0 / 1.47 GB, free: 64 kB / 1.135 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4849, allocations: 0 / 1.47 GB, free: 64 kB / 1.135 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.0005078/0.4854, allocations: 298 kB / 1.471 GB, free: 15.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4854, allocations: 15.98 kB / 1.471 GB, free: 15.72 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.4855, allocations: 4.938 kB / 1.471 GB, free: 15.71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4856, allocations: 106.5 kB / 1.471 GB, free: 15.59 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.4856, allocations: 384 / 1.471 GB, free: 15.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.4856, allocations: 384 / 1.471 GB, free: 15.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4858, allocations: 71.89 kB / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4858, allocations: 192 / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4858, allocations: 3.938 kB / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4858, allocations: 0 / 1.471 GB, free: 15.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.655e-05/0.4858, allocations: 19.92 kB / 1.471 GB, free: 15.48 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.486, allocations: 105.3 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.4862, allocations: 38.61 kB / 1.471 GB, free: 15.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.871e-05/0.4863, allocations: 20.94 kB / 1.471 GB, free: 15.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4863, allocations: 0 / 1.471 GB, free: 15.28 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4863, allocations: 34.56 kB / 1.471 GB, free: 15.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4863, allocations: 0 / 1.471 GB, free: 15.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.0006594/0.487, allocations: 237.3 kB / 1.471 GB, free: 14.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.487, allocations: 55.41 kB / 1.471 GB, free: 14.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.4871, allocations: 105.8 kB / 1.471 GB, free: 14.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4871, allocations: 29.7 kB / 1.471 GB, free: 14.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.4872, allocations: 80.14 kB / 1.471 GB, free: 14.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.4872, allocations: 23.84 kB / 1.471 GB, free: 14.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.4873, allocations: 17.72 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4874, allocations: 310.8 kB / 1.472 GB, free: 14.31 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.4875, allocations: 15.98 kB / 1.472 GB, free: 14.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.4875, allocations: 12 kB / 1.472 GB, free: 14.29 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.382e-05/0.4876, allocations: 32.84 kB / 1.472 GB, free: 14.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4876, allocations: 0 / 1.472 GB, free: 14.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.4877, allocations: 69.77 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4877, allocations: 12 kB / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4877, allocations: 3.938 kB / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4877, allocations: 0 / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.4878, allocations: 11.98 kB / 1.472 GB, free: 14.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4878, allocations: 4 kB / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.4878, allocations: 0 / 1.472 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4878, allocations: 3.938 kB / 1.472 GB, free: 14.14 MB / 1.151 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.425e-05/0.4879, allocations: 117.8 kB / 1.472 GB, free: 14.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.4879, allocations: 3.953 kB / 1.472 GB, free: 14.01 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.4881, allocations: 89.61 kB / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4881, allocations: 0 / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.4881, allocations: 4 kB / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.4881, allocations: 0 / 1.472 GB, free: 13.91 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.4884, allocations: 255.1 kB / 1.472 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4884, allocations: 3.938 kB / 1.472 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.4885, allocations: 15.98 kB / 1.472 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4885, allocations: 0 / 1.472 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.4885, allocations: 0 / 1.472 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.4885, allocations: 4 kB / 1.472 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4885, allocations: 0 / 1.472 GB, free: 13.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4887, allocations: 172.3 kB / 1.473 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.4888, allocations: 24 kB / 1.473 GB, free: 13.39 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.4888, allocations: 0 / 1.473 GB, free: 13.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.4888, allocations: 4 kB / 1.473 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.606e-05/0.4889, allocations: 3.984 kB / 1.473 GB, free: 13.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.4889, allocations: 4 kB / 1.473 GB, free: 13.38 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.4889, allocations: 83.28 kB / 1.473 GB, free: 13.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 7e-08/0.4889, allocations: 0 / 1.473 GB, free: 13.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002574/0.4892, allocations: 27.88 kB / 1.473 GB, free: 13.27 MB / 1.151 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.0002488/0.4894, allocations: 143 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4895, allocations: 35.92 kB / 1.473 GB, free: 13.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.4896, allocations: 0 / 1.473 GB, free: 13.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.83e-05/0.4896, allocations: 12 kB / 1.473 GB, free: 13.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.4898, allocations: 8.953 kB / 1.473 GB, free: 13.06 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.4903, allocations: 200.9 kB / 1.473 GB, free: 12.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.4903, allocations: 63.34 kB / 1.473 GB, free: 12.76 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4904, allocations: 4.25 kB / 1.473 GB, free: 12.75 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.4904, allocations: 7.438 kB / 1.473 GB, free: 12.75 MB / 1.151 GB Notification: Performance of SimCode: time 4.41e-07/0.4904, allocations: 4 kB / 1.473 GB, free: 12.74 MB / 1.151 GB Notification: Performance of Templates: time 0.003934/0.4943, allocations: 0.8188 MB / 1.474 GB, free: 11.96 MB / 1.151 GB " [Timeout remaining time 299] 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: 11.152426712913439]