Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001973/0.001973, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002312/0.002312, allocations: 185.7 kB / 22.22 MB, free: 5.105 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.4 MB / 0.7321 GB, free: 12.45 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.81 kB / 1.061 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7877, allocations: 160.8 MB / 1.218 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002982/0.7906, allocations: 1.491 MB / 1.22 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.7919, allocations: 0.6447 MB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.7919, allocations: 1.125 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.096e-05/0.792, allocations: 7.875 kB / 1.221 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.792, allocations: 5.125 kB / 1.221 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.7926, allocations: 159 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.7927, allocations: 49.81 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.7928, allocations: 6.812 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.7929, allocations: 30.47 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.7929, allocations: 27.73 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.7929, allocations: 3.875 kB / 1.221 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005992/0.7935, allocations: 348.7 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.7935, allocations: 10.16 kB / 1.221 GB, free: 1.707 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.7936, allocations: 23.92 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.7939, allocations: 177.7 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7939, allocations: 0 / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7939, allocations: 0 / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5e-06/0.794, allocations: 5.312 kB / 1.221 GB, free: 1.586 MB / 0.92 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.0007503/0.7947, allocations: 406.6 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.7948, allocations: 9.375 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.7948, allocations: 4.219 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.795, allocations: 178.5 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.7951, allocations: 2.594 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.7951, allocations: 9.906 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.7954, allocations: 79.38 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.7954, allocations: 5.062 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.7955, allocations: 5.125 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.7955, allocations: 0.9062 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.7957, allocations: 52.33 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.7965, allocations: 313.3 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.7968, allocations: 82.16 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.7969, allocations: 30.03 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.797, allocations: 5.234 kB / 1.223 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.797, allocations: 35.94 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.797, allocations: 0 / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.00196/0.799, allocations: 0.6403 MB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.799, allocations: 61.7 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.7991, allocations: 102.6 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.7991, allocations: 30.95 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.7992, allocations: 97.27 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.7992, allocations: 36.09 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.7993, allocations: 30.58 kB / 1.224 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7995, allocations: 325 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.7996, allocations: 34.33 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.7997, allocations: 34.53 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.8, allocations: 74.02 kB / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.8, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/0.8003, allocations: 109.4 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.8003, allocations: 5.438 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8003, allocations: 0 / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8003, allocations: 5.094 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.8005, allocations: 32.67 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.8005, allocations: 1.062 kB / 1.224 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.8005, allocations: 11.23 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.8006, allocations: 2.375 kB / 1.224 GB, free: 15.02 MB / 0.9356 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.0001151/0.8007, allocations: 121.5 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.8007, allocations: 11.61 kB / 1.224 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.8011, allocations: 131 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.8011, allocations: 1.156 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8011, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.8011, allocations: 5.094 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.8017, allocations: 376.8 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8017, allocations: 0 / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.8019, allocations: 32.91 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.8019, allocations: 0 / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8019, allocations: 14.09 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8019, allocations: 3.984 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.8019, allocations: 5.094 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.8024, allocations: 248 kB / 1.225 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.8024, allocations: 83.31 kB / 1.225 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.8025, allocations: 8.938 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.8026, allocations: 12.02 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.8026, allocations: 6.984 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8026, allocations: 3.375 kB / 1.225 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.8027, allocations: 82.56 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8027, allocations: 3.938 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003121/0.803, allocations: 41.98 kB / 1.225 GB, free: 14 MB / 0.9356 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.0002205/0.8032, allocations: 136.5 kB / 1.225 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003245/0.8035, allocations: 88.17 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8035, allocations: 1.062 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.8037, allocations: 41.5 kB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.804, allocations: 12.42 kB / 1.226 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.8047, allocations: 318.6 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.8051, allocations: 0.6918 MB / 1.226 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.8052, allocations: 15.23 kB / 1.227 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.8052, allocations: 17.25 kB / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8052, allocations: 0 / 1.227 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of Templates: time 0.005603/0.8108, allocations: 1.199 MB / 1.228 GB, free: 12.27 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.845669568516314]