Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001766/0.001766, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002014/0.002014, allocations: 157.7 kB / 23.01 MB, free: 4.602 MB / 14.72 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_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.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002242, allocations: 59.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002353/1.078, allocations: 1.486 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001038/1.079, allocations: 0.5501 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/1.079, allocations: 3.938 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/1.079, allocations: 3.938 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/1.079, allocations: 6.938 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/1.079, allocations: 168.2 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/1.08, allocations: 52.3 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/1.08, allocations: 3.031 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/1.08, allocations: 30.34 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.807e-05/1.08, allocations: 22.48 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/1.08, allocations: 2.812 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/1.08, allocations: 270.9 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/1.08, allocations: 10.78 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/1.08, allocations: 23.45 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/1.081, allocations: 168.7 kB / 1.157 GB, free: 31.67 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.081, allocations: 2.875 kB / 1.157 GB, free: 31.67 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.774e-06/1.081, allocations: 0 / 1.157 GB, free: 31.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.081, allocations: 0 / 1.157 GB, free: 31.67 MB / 1.076 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.0006607/1.081, allocations: 325.1 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.081, allocations: 11.44 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/1.081, allocations: 7.797 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/1.081, allocations: 113.4 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/1.082, allocations: 7.156 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/1.082, allocations: 14.23 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/1.082, allocations: 125.8 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/1.082, allocations: 192 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.082, allocations: 6.875 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.082, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/1.082, allocations: 57.81 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/1.083, allocations: 265 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.083, allocations: 75.19 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/1.083, allocations: 30.86 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.083, allocations: 2.688 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.083, allocations: 34.5 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1.083, allocations: 0 / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001552/1.085, allocations: 0.5029 MB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.085, allocations: 55.41 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.957e-05/1.085, allocations: 95.27 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/1.085, allocations: 32.33 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/1.085, allocations: 93.62 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/1.085, allocations: 41.3 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/1.085, allocations: 27.58 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.628e-05/1.085, allocations: 322.2 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/1.085, allocations: 30.08 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/1.085, allocations: 28.59 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/1.085, allocations: 81.84 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/1.085, allocations: 0 / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002813/1.086, allocations: 123.7 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.086, allocations: 5.719 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.086, allocations: 0 / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.086, allocations: 2.844 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/1.086, allocations: 22.89 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/1.086, allocations: 3.938 kB / 1.159 GB, free: 29.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/1.086, allocations: 12.33 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/1.086, allocations: 6.75 kB / 1.159 GB, free: 29.64 MB / 1.076 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.532e-05/1.086, allocations: 116.6 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/1.086, allocations: 13.8 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/1.086, allocations: 124.6 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.086, allocations: 0 / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.086, allocations: 2.75 kB / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.086, allocations: 0 / 1.159 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/1.087, allocations: 327.9 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.087, allocations: 3.328 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.087, allocations: 23.14 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.087, allocations: 6.562 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.087, allocations: 0 / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.087, allocations: 2.5 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.087, allocations: 3.938 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/1.087, allocations: 253.2 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/1.087, allocations: 7.094 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/1.087, allocations: 2.594 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/1.088, allocations: 10.16 kB / 1.16 GB, free: 28.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/1.088, allocations: 19.83 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/1.088, allocations: 7.031 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.918e-05/1.088, allocations: 81.78 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.088, allocations: 0 / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002951/1.088, allocations: 41.53 kB / 1.16 GB, free: 28.88 MB / 1.076 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.0002039/1.088, allocations: 129.5 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003292/1.088, allocations: 80.95 kB / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.088, allocations: 0 / 1.16 GB, free: 28.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/1.089, allocations: 45.56 kB / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/1.089, allocations: 13.75 kB / 1.16 GB, free: 28.74 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/1.089, allocations: 313.5 kB / 1.161 GB, free: 28.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/1.09, allocations: 80.94 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.12e-05/1.09, allocations: 13.88 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/1.09, allocations: 14 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.09, allocations: 6.281 kB / 1.161 GB, free: 28.42 MB / 1.076 GB Notification: Performance of Templates: time 0.003799/1.093, allocations: 1.116 MB / 1.162 GB, free: 28.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.51593547698576]