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.002731/0.002731, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.003146/0.003146, allocations: 218.3 kB / 22.26 MB, free: 3.562 MB / 13.93 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.706/1.706, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.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 4.153/4.153, allocations: 0.5707 GB / 0.8759 GB, free: 16.45 MB / 0.6667 GB " [Timeout remaining time 175] 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 0.004244/0.004244, allocations: 78.66 kB / 1.276 GB, free: 13.15 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4976/0.5019, allocations: 196.8 MB / 1.468 GB, free: 2.652 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.003391/0.5052, allocations: 1.324 MB / 1.469 GB, free: 1.312 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.5066, allocations: 0.5508 MB / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.5066, allocations: 0 / 1.47 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.5066, allocations: 7.922 kB / 1.47 GB, free: 0.7539 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.5067, allocations: 11.88 kB / 1.47 GB, free: 0.7422 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.5075, allocations: 155.4 kB / 1.47 GB, free: 0.5898 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.5076, allocations: 19.92 kB / 1.47 GB, free: 0.5703 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.5076, allocations: 0 / 1.47 GB, free: 0.5703 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.5077, allocations: 4 kB / 1.47 GB, free: 0.5664 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 6.237e-05/0.5077, allocations: 15.92 kB / 1.47 GB, free: 0.5508 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.5077, allocations: 0 / 1.47 GB, free: 0.5508 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006594/0.5084, allocations: 315.4 kB / 1.47 GB, free: 248 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.5084, allocations: 4 kB / 1.47 GB, free: 244 kB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.5085, allocations: 11.94 kB / 1.47 GB, free: 232 kB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.5088, allocations: 147.5 kB / 1.47 GB, free: 84 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5088, allocations: 0 / 1.47 GB, free: 84 kB / 1.135 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5088, allocations: 4 kB / 1.47 GB, free: 80 kB / 1.135 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.5088, allocations: 0 / 1.47 GB, free: 80 kB / 1.135 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.0005972/0.5094, allocations: 285.9 kB / 1.471 GB, free: 15.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.5095, allocations: 12.02 kB / 1.471 GB, free: 15.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.5095, allocations: 8.938 kB / 1.471 GB, free: 15.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.5096, allocations: 102.5 kB / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.5097, allocations: 384 / 1.471 GB, free: 15.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.5097, allocations: 8.375 kB / 1.471 GB, free: 15.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5098, allocations: 67.95 kB / 1.471 GB, free: 15.54 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5099, allocations: 4.125 kB / 1.471 GB, free: 15.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.5099, allocations: 3.938 kB / 1.471 GB, free: 15.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5099, allocations: 0 / 1.471 GB, free: 15.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.5099, allocations: 8 kB / 1.471 GB, free: 15.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.5101, allocations: 109.3 kB / 1.471 GB, free: 15.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.5104, allocations: 42.61 kB / 1.471 GB, free: 15.33 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.5104, allocations: 16.86 kB / 1.471 GB, free: 15.31 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5104, allocations: 0 / 1.471 GB, free: 15.31 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.5105, allocations: 42.58 kB / 1.471 GB, free: 15.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.5105, allocations: 0 / 1.471 GB, free: 15.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.0007743/0.5112, allocations: 241.3 kB / 1.471 GB, free: 14.99 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5113, allocations: 51.41 kB / 1.471 GB, free: 14.93 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.5114, allocations: 97.89 kB / 1.471 GB, free: 14.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.5114, allocations: 29.69 kB / 1.471 GB, free: 14.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.5115, allocations: 88.14 kB / 1.471 GB, free: 14.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.5115, allocations: 11.86 kB / 1.471 GB, free: 14.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.5116, allocations: 21.72 kB / 1.471 GB, free: 14.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.5117, allocations: 318.8 kB / 1.472 GB, free: 14.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.5118, allocations: 19.94 kB / 1.472 GB, free: 14.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.401e-05/0.5118, allocations: 4 kB / 1.472 GB, free: 14.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.685e-05/0.5119, allocations: 44.97 kB / 1.472 GB, free: 14.27 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5119, allocations: 0 / 1.472 GB, free: 14.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/0.512, allocations: 65.62 kB / 1.472 GB, free: 14.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.512, allocations: 4 kB / 1.472 GB, free: 14.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.512, allocations: 3.938 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.5121, allocations: 4 kB / 1.472 GB, free: 14.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.5121, allocations: 8 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5121, allocations: 0 / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.5121, allocations: 8 kB / 1.472 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.5122, allocations: 4 kB / 1.472 GB, free: 14.17 MB / 1.151 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.0001039/0.5123, allocations: 105.8 kB / 1.472 GB, free: 14.05 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.5123, allocations: 11.94 kB / 1.472 GB, free: 14.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.5125, allocations: 77.62 kB / 1.472 GB, free: 13.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5125, allocations: 0 / 1.472 GB, free: 13.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5125, allocations: 0 / 1.472 GB, free: 13.96 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5125, allocations: 7.938 kB / 1.472 GB, free: 13.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.513, allocations: 263.2 kB / 1.472 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.513, allocations: 3.938 kB / 1.472 GB, free: 13.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.96e-05/0.5131, allocations: 12.03 kB / 1.472 GB, free: 13.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5131, allocations: 4 kB / 1.472 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.5131, allocations: 0 / 1.472 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5131, allocations: 0 / 1.472 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5131, allocations: 0 / 1.472 GB, free: 13.63 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.5133, allocations: 180.3 kB / 1.473 GB, free: 13.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.5133, allocations: 11.92 kB / 1.473 GB, free: 13.43 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5134, allocations: 3.984 kB / 1.473 GB, free: 13.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.5134, allocations: 4 kB / 1.473 GB, free: 13.42 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.5135, allocations: 4 kB / 1.473 GB, free: 13.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-06/0.5135, allocations: 4 kB / 1.473 GB, free: 13.41 MB / 1.151 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.5135, allocations: 83.33 kB / 1.473 GB, free: 13.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 6e-08/0.5135, allocations: 0 / 1.473 GB, free: 13.33 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002935/0.5138, allocations: 39.81 kB / 1.473 GB, free: 13.29 MB / 1.151 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.00028/0.5141, allocations: 135 kB / 1.473 GB, free: 13.15 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.5142, allocations: 35.92 kB / 1.473 GB, free: 13.11 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5142, allocations: 0 / 1.473 GB, free: 13.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.5142, allocations: 19.98 kB / 1.473 GB, free: 13.09 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5145, allocations: 9.969 kB / 1.473 GB, free: 13.09 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.515, allocations: 192.9 kB / 1.473 GB, free: 12.87 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.899e-05/0.5151, allocations: 63.34 kB / 1.473 GB, free: 12.79 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.5151, allocations: 8.25 kB / 1.473 GB, free: 12.78 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.5152, allocations: 11.44 kB / 1.473 GB, free: 12.77 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/0.5152, allocations: 0 / 1.473 GB, free: 12.77 MB / 1.151 GB Notification: Performance of Templates: time 0.004382/0.5196, allocations: 0.8236 MB / 1.474 GB, free: 11.99 MB / 1.151 GB " [Timeout remaining time 299] 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: 11.318706946913153]