Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001638/0.001638, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001842/0.001842, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.538/1.538, allocations: 225.6 MB / 249.4 MB, free: 2.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.327/3.327, allocations: 496.2 MB / 0.7819 GB, free: 12.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 67.89 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.226, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002226/1.228, allocations: 1.287 MB / 1.307 GB, free: 32.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001056/1.23, allocations: 0.6139 MB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/1.23, allocations: 2.781 kB / 1.307 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/1.23, allocations: 11.06 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/1.23, allocations: 0 / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/1.23, allocations: 139.4 kB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/1.23, allocations: 20.61 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/1.23, allocations: 6.797 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/1.23, allocations: 14.81 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/1.23, allocations: 8.766 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/1.23, allocations: 3.938 kB / 1.307 GB, free: 32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/1.231, allocations: 342.6 kB / 1.308 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/1.231, allocations: 0 / 1.308 GB, free: 31.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/1.231, allocations: 13.5 kB / 1.308 GB, free: 31.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/1.231, allocations: 152.2 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.231, allocations: 0 / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.231, allocations: 0 / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.231, allocations: 0 / 1.308 GB, free: 31.85 MB / 1.061 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.0004091/1.232, allocations: 368 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.232, allocations: 7.906 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/1.232, allocations: 3.688 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/1.232, allocations: 168.3 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/1.232, allocations: 2.844 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/1.232, allocations: 3.094 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.232, allocations: 45.84 kB / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.232, allocations: 192 / 1.309 GB, free: 31.22 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/1.232, allocations: 3.938 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.232, allocations: 2.812 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/1.232, allocations: 13.12 kB / 1.309 GB, free: 31.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/1.232, allocations: 154.6 kB / 1.309 GB, free: 31.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/1.232, allocations: 50.53 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/1.232, allocations: 13.86 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/1.232, allocations: 2.625 kB / 1.309 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/1.232, allocations: 34.56 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.232, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005861/1.233, allocations: 312.8 kB / 1.309 GB, free: 30.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/1.233, allocations: 51.41 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/1.233, allocations: 102.7 kB / 1.309 GB, free: 30.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/1.233, allocations: 25.7 kB / 1.309 GB, free: 30.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/1.233, allocations: 80.14 kB / 1.309 GB, free: 30.36 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/1.233, allocations: 22.61 kB / 1.309 GB, free: 30.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/1.233, allocations: 26.94 kB / 1.309 GB, free: 30.32 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/1.233, allocations: 318.1 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/1.233, allocations: 7.906 kB / 1.31 GB, free: 30 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/1.233, allocations: 13.19 kB / 1.31 GB, free: 29.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/1.233, allocations: 36.92 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/1.233, allocations: 0 / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.982e-05/1.233, allocations: 68.36 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/1.233, allocations: 9.438 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.233, allocations: 4 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.233, allocations: 0 / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/1.233, allocations: 11.59 kB / 1.31 GB, free: 29.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/1.233, allocations: 7.266 kB / 1.31 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/1.233, allocations: 0 / 1.31 GB, free: 29.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/1.233, allocations: 6.906 kB / 1.31 GB, free: 29.91 MB / 1.061 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 5.129e-05/1.233, allocations: 105.8 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/1.234, allocations: 6.906 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/1.234, allocations: 76.45 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.234, allocations: 7.25 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.234, allocations: 128 / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.234, allocations: 3.938 kB / 1.31 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/1.234, allocations: 316.5 kB / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.234, allocations: 0 / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/1.234, allocations: 12.19 kB / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.234, allocations: 0 / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.234, allocations: 3.375 kB / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.234, allocations: 6.938 kB / 1.31 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.234, allocations: 4.031 kB / 1.31 GB, free: 29.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/1.234, allocations: 177.7 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/1.234, allocations: 83.42 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/1.234, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/1.234, allocations: 6.844 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/1.234, allocations: 3.375 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.234, allocations: 7.156 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.975e-05/1.234, allocations: 78.22 kB / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.234, allocations: 0 / 1.311 GB, free: 29.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002347/1.234, allocations: 30.06 kB / 1.311 GB, free: 29.04 MB / 1.061 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.000153/1.235, allocations: 123 kB / 1.311 GB, free: 28.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001028/1.235, allocations: 35.36 kB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.235, allocations: 0 / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/1.235, allocations: 19.75 kB / 1.311 GB, free: 28.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/1.235, allocations: 14.38 kB / 1.311 GB, free: 28.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/1.235, allocations: 209.7 kB / 1.311 GB, free: 28.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/1.235, allocations: 0.6805 MB / 1.312 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.636e-05/1.235, allocations: 3.031 kB / 1.312 GB, free: 28.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.783e-05/1.235, allocations: 14.34 kB / 1.312 GB, free: 28.03 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.235, allocations: 0 / 1.312 GB, free: 28.03 MB / 1.061 GB Notification: Performance of Templates: time 0.003042/1.238, allocations: 0.6784 MB / 1.312 GB, free: 27.96 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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: 10.20423255674541]