Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001825/0.001825, 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.002214/0.002214, allocations: 156.4 kB / 23.01 MB, free: 4.605 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.969/2.969, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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_m_flow_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_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_latest_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.002116/0.002116, allocations: 67.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8523/0.8545, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002251/0.8567, allocations: 1.492 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009035/0.8576, allocations: 0.5591 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.8576, allocations: 3.938 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.8577, allocations: 5.391 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.8577, allocations: 5.984 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.8582, allocations: 167.2 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.987e-05/0.8583, allocations: 53.73 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.8584, allocations: 7.922 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.8584, allocations: 23.91 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.8585, allocations: 21.67 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.8585, allocations: 4.281 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004183/0.8589, allocations: 270.3 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.8589, allocations: 16.42 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.8589, allocations: 22.91 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.8592, allocations: 163.4 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8592, allocations: 4.75 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8592, allocations: 0 / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.8592, allocations: 0 / 1.189 GB, free: 14.52 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.0004896/0.8597, allocations: 325 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.8597, allocations: 9.438 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.8598, allocations: 8.234 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.785e-05/0.8598, allocations: 111.2 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.8599, allocations: 7.25 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.8599, allocations: 5.688 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.8601, allocations: 135 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8601, allocations: 1.25 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8601, allocations: 5.062 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8601, allocations: 5.656 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.8604, allocations: 47.41 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.8608, allocations: 261.9 kB / 1.19 GB, free: 13.72 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.8611, allocations: 74.36 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.8612, allocations: 27.52 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.8612, allocations: 5.969 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.8612, allocations: 37.03 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.8612, allocations: 0 / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001429/0.8627, allocations: 0.499 MB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.8627, allocations: 56.81 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.8627, allocations: 102.4 kB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.8627, allocations: 25.7 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.26e-05/0.8628, allocations: 91.86 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.8628, allocations: 44.22 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.8628, allocations: 29.48 kB / 1.191 GB, free: 12.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.814e-05/0.8629, allocations: 323.2 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.863, allocations: 27.8 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.8631, allocations: 41.53 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.8634, allocations: 74.19 kB / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.8634, allocations: 0 / 1.192 GB, free: 12.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002978/0.8637, allocations: 116.1 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8637, allocations: 4.75 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8637, allocations: 1.219 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8637, allocations: 0.8438 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.8638, allocations: 29.94 kB / 1.192 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.8638, allocations: 9.375 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.8639, allocations: 4 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.8639, allocations: 8.578 kB / 1.192 GB, free: 12.5 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 4.995e-05/0.864, allocations: 117.2 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.864, allocations: 7.578 kB / 1.192 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.8643, allocations: 130.7 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8643, allocations: 1.5 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.8644, allocations: 0.7031 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8644, allocations: 4.703 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.8648, allocations: 328.8 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8648, allocations: 1.219 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.865, allocations: 28.89 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.865, allocations: 0 / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.865, allocations: 5.812 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.865, allocations: 2.078 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.865, allocations: 4.016 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.8655, allocations: 249.7 kB / 1.193 GB, free: 11.85 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.8655, allocations: 6.844 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.8655, allocations: 1.156 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.8656, allocations: 6.672 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.8656, allocations: 14.44 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.8657, allocations: 3.859 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.8657, allocations: 79.98 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8657, allocations: 3.938 kB / 1.193 GB, free: 11.76 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000291/0.866, allocations: 39.62 kB / 1.193 GB, free: 11.75 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.0001827/0.8661, allocations: 136.6 kB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.8665, allocations: 81.05 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8665, allocations: 1.125 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.8666, allocations: 40.05 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.8669, allocations: 19.98 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.8675, allocations: 324.1 kB / 1.193 GB, free: 11.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.463e-05/0.8675, allocations: 79.27 kB / 1.193 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.8676, allocations: 8.797 kB / 1.193 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.8676, allocations: 15.42 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8676, allocations: 4 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of Templates: time 0.004075/0.8717, allocations: 1.125 MB / 1.195 GB, free: 11.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.837847349932417]