Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.001871/0.001871, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002023/0.002023, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 3.802/3.802, allocations: 440.5 MB / 0.6832 GB, free: 12.71 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.083 GB, free: 24.11 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.765e-05, allocations: 8.469 kB / 1.083 GB, free: 24.1 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001938/0.001966, allocations: 1.335 MB / 1.084 GB, free: 23.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.002819, allocations: 0.5502 MB / 1.085 GB, free: 22.81 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.002854, allocations: 0 / 1.085 GB, free: 22.81 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.002875, allocations: 3.938 kB / 1.085 GB, free: 22.81 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.002917, allocations: 10.61 kB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.003429, allocations: 161.7 kB / 1.085 GB, free: 22.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.003497, allocations: 23.67 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.003547, allocations: 6.938 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.003596, allocations: 8.422 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.003644, allocations: 6.469 kB / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.003656, allocations: 0 / 1.085 GB, free: 22.71 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003729/0.004029, allocations: 315.6 kB / 1.085 GB, free: 22.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.004044, allocations: 11.86 kB / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.004065, allocations: 8.359 kB / 1.085 GB, free: 22.62 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.004303, allocations: 159 kB / 1.086 GB, free: 22.57 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004306, allocations: 0 / 1.086 GB, free: 22.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004307, allocations: 4 kB / 1.086 GB, free: 22.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.004312, allocations: 0 / 1.086 GB, free: 22.57 MB / 1.01 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.0003569/0.004669, allocations: 283.4 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.004708, allocations: 11.53 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.004748, allocations: 4.891 kB / 1.086 GB, free: 22.28 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.004816, allocations: 112.6 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.004831, allocations: 6.625 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.00485, allocations: 384 / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.004956, allocations: 67.19 kB / 1.086 GB, free: 22.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004964, allocations: 192 / 1.086 GB, free: 22.07 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.004974, allocations: 4.375 kB / 1.086 GB, free: 22.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004978, allocations: 2.906 kB / 1.086 GB, free: 22.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.00502, allocations: 16.52 kB / 1.086 GB, free: 22.06 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.005143, allocations: 102.2 kB / 1.086 GB, free: 21.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.005322, allocations: 48.62 kB / 1.086 GB, free: 21.9 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.005351, allocations: 16.83 kB / 1.086 GB, free: 21.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.005374, allocations: 0 / 1.086 GB, free: 21.89 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.005388, allocations: 33.25 kB / 1.086 GB, free: 21.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.005389, allocations: 0 / 1.086 GB, free: 21.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.0005385/0.005927, allocations: 227.5 kB / 1.086 GB, free: 21.67 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.005955, allocations: 65.91 kB / 1.087 GB, free: 21.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.006, allocations: 92.48 kB / 1.087 GB, free: 21.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.006008, allocations: 33.64 kB / 1.087 GB, free: 21.46 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.006026, allocations: 82.77 kB / 1.087 GB, free: 21.38 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.006053, allocations: 25.84 kB / 1.087 GB, free: 21.36 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.006085, allocations: 26.91 kB / 1.087 GB, free: 21.33 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.006133, allocations: 314.1 kB / 1.087 GB, free: 21.02 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.006158, allocations: 11.88 kB / 1.087 GB, free: 21.01 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.006176, allocations: 12.58 kB / 1.087 GB, free: 21.01 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.006224, allocations: 32.83 kB / 1.087 GB, free: 20.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006225, allocations: 4 kB / 1.087 GB, free: 20.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.595e-05/0.006301, allocations: 64.86 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.006314, allocations: 5.25 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006319, allocations: 0 / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.006334, allocations: 0 / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.849e-05/0.006382, allocations: 13.92 kB / 1.087 GB, free: 20.94 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.006389, allocations: 8 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.006407, allocations: 2.625 kB / 1.087 GB, free: 20.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.006412, allocations: 0 / 1.087 GB, free: 20.93 MB / 1.01 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 4.676e-05/0.006458, allocations: 116.4 kB / 1.087 GB, free: 20.81 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.006469, allocations: 6.625 kB / 1.087 GB, free: 20.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.006584, allocations: 69.09 kB / 1.087 GB, free: 20.76 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.006586, allocations: 0 / 1.087 GB, free: 20.76 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.00659, allocations: 7.938 kB / 1.087 GB, free: 20.75 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.006594, allocations: 2.625 kB / 1.087 GB, free: 20.75 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.00681, allocations: 259 kB / 1.088 GB, free: 20.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006812, allocations: 2.625 kB / 1.088 GB, free: 20.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.00687, allocations: 10.97 kB / 1.088 GB, free: 20.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006872, allocations: 2.625 kB / 1.088 GB, free: 20.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.006879, allocations: 3.938 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.006882, allocations: 2.625 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006883, allocations: 4.031 kB / 1.088 GB, free: 20.49 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.007032, allocations: 186.9 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.00705, allocations: 6.094 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.007064, allocations: 3.938 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.007133, allocations: 6.625 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.007151, allocations: 5.906 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.007156, allocations: 2.625 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.007174, allocations: 85.83 kB / 1.088 GB, free: 20.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.007174, allocations: 0 / 1.088 GB, free: 20.23 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002365/0.007411, allocations: 32.88 kB / 1.088 GB, free: 20.22 MB / 1.01 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.0001965/0.007607, allocations: 134.6 kB / 1.088 GB, free: 20.12 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.007708, allocations: 33.97 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.00771, allocations: 2.625 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/0.007734, allocations: 17.72 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.007972, allocations: 6.625 kB / 1.088 GB, free: 20.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.008319, allocations: 178.8 kB / 1.088 GB, free: 19.94 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.058e-05/0.008359, allocations: 64.11 kB / 1.088 GB, free: 19.87 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.008386, allocations: 6.047 kB / 1.088 GB, free: 19.87 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.008403, allocations: 11.12 kB / 1.088 GB, free: 19.86 MB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.008404, allocations: 0 / 1.088 GB, free: 19.86 MB / 1.01 GB Notification: Performance of Templates: time 0.003553/0.01196, allocations: 0.8309 MB / 1.089 GB, free: 19.78 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.ref.csv","",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.001568770036101]