Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.002067/0.002067, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002421/0.002421, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.081/3.081, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8108 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.718e-05/3.856e-05, allocations: 3.828 kB / 0.8108 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002474/0.002513, allocations: 1.299 MB / 0.8121 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003716, allocations: 0.5771 MB / 0.8126 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.003739, allocations: 0 / 0.8126 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.003753, allocations: 0.7812 kB / 0.8126 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.003803, allocations: 7.875 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.004357, allocations: 149 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.004425, allocations: 19.86 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.242e-05/0.004457, allocations: 1.531 kB / 0.8128 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.004517, allocations: 19.92 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.004559, allocations: 4 kB / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.004573, allocations: 0 / 0.8128 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.005061, allocations: 272.4 kB / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.005077, allocations: 4 kB / 0.8131 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.005096, allocations: 4.531 kB / 0.8131 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.0054, allocations: 159.5 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005403, allocations: 1.594 kB / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005403, allocations: 0 / 0.8132 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.005408, allocations: 0 / 0.8132 GB, free: 14.48 MB / 0.7292 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.0004961/0.005904, allocations: 399.8 kB / 0.8136 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.005946, allocations: 8.562 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.005996, allocations: 5.656 kB / 0.8136 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.006112, allocations: 112.5 kB / 0.8137 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.006126, allocations: 4.906 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.006147, allocations: 4.375 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.006268, allocations: 65.58 kB / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.006276, allocations: 192 / 0.8138 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006286, allocations: 4.375 kB / 0.8138 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00629, allocations: 384 / 0.8138 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.006338, allocations: 16.55 kB / 0.8138 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.006512, allocations: 112.6 kB / 0.8139 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.006712, allocations: 59.7 kB / 0.814 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.006749, allocations: 20.45 kB / 0.814 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.00677, allocations: 4.938 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.0068, allocations: 33.39 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.006801, allocations: 0 / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000652/0.007453, allocations: 239.1 kB / 0.8143 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.007499, allocations: 55.34 kB / 0.8143 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.007621, allocations: 165.9 kB / 0.8145 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.007644, allocations: 27.45 kB / 0.8145 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.007721, allocations: 126.9 kB / 0.8146 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.007758, allocations: 23.8 kB / 0.8147 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.007819, allocations: 27.36 kB / 0.8147 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002599/0.008079, allocations: 496.1 kB / 0.8152 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.008108, allocations: 10.28 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.008137, allocations: 15.98 kB / 0.8152 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.008204, allocations: 35.69 kB / 0.8152 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.008205, allocations: 0 / 0.8152 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001236/0.008328, allocations: 73.62 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.008341, allocations: 4 kB / 0.8153 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.008346, allocations: 6.969 kB / 0.8153 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.008359, allocations: 0 / 0.8153 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.008415, allocations: 15.94 kB / 0.8153 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.008427, allocations: 7.922 kB / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.008444, allocations: 0 / 0.8153 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.008449, allocations: 0 / 0.8153 GB, free: 12.11 MB / 0.7292 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 0.0001218/0.008571, allocations: 160.6 kB / 0.8155 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.008587, allocations: 5.344 kB / 0.8155 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.00876, allocations: 69.75 kB / 0.8156 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.008765, allocations: 4 kB / 0.8156 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.008772, allocations: 7.922 kB / 0.8156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008775, allocations: 0.625 kB / 0.8156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.009161, allocations: 309.8 kB / 0.8159 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.009163, allocations: 0 / 0.8159 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.00923, allocations: 16.69 kB / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.009235, allocations: 3.984 kB / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.009245, allocations: 5.125 kB / 0.8159 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.009246, allocations: 4 kB / 0.8159 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009247, allocations: 0 / 0.8159 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.009506, allocations: 234.2 kB / 0.8161 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.009529, allocations: 8.047 kB / 0.8161 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.009549, allocations: 7.938 kB / 0.8161 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.009622, allocations: 8 kB / 0.8161 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.009662, allocations: 7.922 kB / 0.8161 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.009671, allocations: 4.516 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.27e-05/0.009743, allocations: 120 kB / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.009744, allocations: 0 / 0.8163 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00025/0.009993, allocations: 28.81 kB / 0.8163 GB, free: 11.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002044/0.0102, allocations: 120.4 kB / 0.8164 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.01033, allocations: 51.89 kB / 0.8165 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01033, allocations: 0 / 0.8165 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.01037, allocations: 28.45 kB / 0.8165 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01058, allocations: 4.141 kB / 0.8165 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.01101, allocations: 184.4 kB / 0.8167 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.882e-05/0.01108, allocations: 68.38 kB / 0.8167 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.0111, allocations: 4.594 kB / 0.8167 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.01113, allocations: 17.62 kB / 0.8168 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of SimCode: time 4.2e-07/0.01113, allocations: 0 / 0.8168 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.003657/0.01479, allocations: 0.663 MB / 0.8174 GB, free: 9.918 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 8.117499314015731]