Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 71.88 kB / 1.107 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003881/1.049, allocations: 1.507 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001555/1.05, allocations: 0.6326 MB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/1.05, allocations: 0.9375 kB / 1.274 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/1.05, allocations: 6 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/1.05, allocations: 4.812 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008432/1.051, allocations: 168.2 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/1.051, allocations: 50.3 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/1.051, allocations: 6 kB / 1.274 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/1.052, allocations: 24.98 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/1.052, allocations: 31.38 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/1.052, allocations: 4.312 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/1.052, allocations: 346.1 kB / 1.275 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/1.052, allocations: 9.312 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/1.052, allocations: 31.22 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/1.053, allocations: 176.3 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.053, allocations: 3.938 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.784e-06/1.053, allocations: 0 / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.053, allocations: 4 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007602/1.054, allocations: 401.2 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.054, allocations: 9.281 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.346e-05/1.054, allocations: 8.453 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.054, allocations: 170 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/1.054, allocations: 3.875 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/1.054, allocations: 8.656 kB / 1.275 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/1.054, allocations: 83.39 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.054, allocations: 192 / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/1.054, allocations: 4.812 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/1.054, allocations: 1.656 kB / 1.276 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/1.055, allocations: 59.14 kB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/1.056, allocations: 317.8 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/1.056, allocations: 82.42 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/1.056, allocations: 27.48 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.056, allocations: 1.062 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/1.056, allocations: 35.66 kB / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/1.056, allocations: 0 / 1.276 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.002241/1.058, allocations: 0.6453 MB / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/1.059, allocations: 61.06 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/1.059, allocations: 105.4 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/1.059, allocations: 27.33 kB / 1.277 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/1.059, allocations: 93.45 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/1.059, allocations: 41.11 kB / 1.277 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/1.059, allocations: 29.73 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/1.059, allocations: 318.3 kB / 1.277 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.059, allocations: 39.14 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/1.059, allocations: 30.98 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/1.06, allocations: 69.92 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.06, allocations: 1.75 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004673/1.06, allocations: 118 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/1.06, allocations: 5.828 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.06, allocations: 0.9219 kB / 1.278 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.06, allocations: 8.859 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/1.06, allocations: 33.52 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/1.06, allocations: 0.875 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/1.06, allocations: 10.14 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/1.06, allocations: 2.656 kB / 1.278 GB, free: 3.715 MB / 0.9981 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 0.0001007/1.061, allocations: 119.8 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/1.061, allocations: 3.281 kB / 1.278 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/1.061, allocations: 132 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.061, allocations: 0.6875 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.061, allocations: 1.062 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.061, allocations: 5.625 kB / 1.278 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006701/1.062, allocations: 384.1 kB / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.062, allocations: 0 / 1.278 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/1.062, allocations: 27.88 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.062, allocations: 4.906 kB / 1.278 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/1.062, allocations: 6 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.062, allocations: 0.9375 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.062, allocations: 0.9375 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/1.063, allocations: 247.2 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/1.063, allocations: 80.25 kB / 1.279 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/1.063, allocations: 9.656 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.063, allocations: 11.17 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/1.063, allocations: 5.609 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/1.063, allocations: 7.688 kB / 1.279 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.156e-05/1.063, allocations: 79.53 kB / 1.279 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.063, allocations: 3.938 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005663/1.064, allocations: 39.62 kB / 1.279 GB, free: 2.797 MB / 0.9981 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.0003193/1.064, allocations: 141.4 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004941/1.064, allocations: 81.84 kB / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.064, allocations: 0 / 1.279 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/1.065, allocations: 44.73 kB / 1.279 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/1.065, allocations: 11.95 kB / 1.279 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/1.066, allocations: 331.9 kB / 1.279 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/1.066, allocations: 0.692 MB / 1.28 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.123e-05/1.066, allocations: 11.92 kB / 1.28 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/1.066, allocations: 18.28 kB / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.066, allocations: 0 / 1.28 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of Templates: time 0.006122/1.072, allocations: 1.176 MB / 1.281 GB, free: 1.586 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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: 9.28554041404277]