Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001904/0.001904, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002593/0.002593, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.518/1.518, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.925/2.925, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.817e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002515/0.002543, allocations: 1.306 MB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.003704, allocations: 0.5363 MB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.003728, allocations: 0 / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.003748, allocations: 1.688 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.003792, allocations: 11.91 kB / 0.8126 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.004422, allocations: 148.8 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.004484, allocations: 19.92 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.004515, allocations: 0 / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.004591, allocations: 19.92 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.004636, allocations: 5.078 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.004651, allocations: 4 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.005155, allocations: 267.4 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.005175, allocations: 9.469 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.005199, allocations: 4 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.005507, allocations: 163.4 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005508, allocations: 4 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005509, allocations: 2.312 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005514, allocations: 0 / 0.8132 GB, free: 15.61 MB / 0.7761 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.0004425/0.005956, allocations: 278 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.005992, allocations: 8.031 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.006043, allocations: 8.891 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.006171, allocations: 109.7 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.006185, allocations: 4.906 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.00621, allocations: 5.094 kB / 0.8136 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.006342, allocations: 63.95 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00635, allocations: 0.7188 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006361, allocations: 4.375 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.006366, allocations: 1.969 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.006408, allocations: 11.94 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.006585, allocations: 105.3 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.006789, allocations: 47.17 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.006828, allocations: 16.86 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.006846, allocations: 4.688 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.006879, allocations: 34.56 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.00688, allocations: 0.625 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0006779/0.007558, allocations: 233.8 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.007607, allocations: 60.06 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.007701, allocations: 98.17 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.007728, allocations: 27.08 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.007778, allocations: 88.08 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.007815, allocations: 23.8 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.007856, allocations: 17.72 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.008033, allocations: 320.6 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.008061, allocations: 8 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.008087, allocations: 12 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.008158, allocations: 36.84 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.008159, allocations: 1.219 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001178/0.008277, allocations: 61.69 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.00829, allocations: 4 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.008297, allocations: 3.984 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.008313, allocations: 0.9688 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.008386, allocations: 19.94 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.008393, allocations: 6.156 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.008417, allocations: 4.062 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.008424, allocations: 4 kB / 0.8149 GB, free: 13.71 MB / 0.7761 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.0001002/0.008524, allocations: 109.8 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.008541, allocations: 4 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001508/0.008691, allocations: 73.02 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008693, allocations: 0 / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.0087, allocations: 7.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008702, allocations: 3.938 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.009053, allocations: 259.1 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.009055, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.009124, allocations: 11.94 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.009129, allocations: 4 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.009139, allocations: 3.938 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009141, allocations: 1.125 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.009142, allocations: 0 / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.009379, allocations: 181.1 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.009402, allocations: 4.031 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009421, allocations: 8.469 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.009501, allocations: 8.547 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.009516, allocations: 0 / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.009524, allocations: 4.969 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.009578, allocations: 83.22 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009578, allocations: 0.9688 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002712/0.009849, allocations: 27.86 kB / 0.8157 GB, free: 12.87 MB / 0.7761 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.0001995/0.01005, allocations: 116.8 kB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.01016, allocations: 36.91 kB / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01016, allocations: 0 / 0.8158 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.255e-05/0.0102, allocations: 21.03 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01043, allocations: 5.875 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008062/0.01124, allocations: 194.4 kB / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.01131, allocations: 67.2 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.01134, allocations: 4 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.01138, allocations: 12.5 kB / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.01138, allocations: 0 / 0.8161 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of Templates: time 0.003451/0.01483, allocations: 0.6685 MB / 0.8168 GB, free: 11.76 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.861033087014221]