Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007577/0.0007577, allocations: 76.17 kB / 9.9 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009985/0.001756, allocations: 445.7 kB / 10.34 MB, free: 364 kB / 10.45 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.0008079/0.0008079, allocations: 149.2 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008365/0.001644, allocations: 471.6 kB / 11.68 MB, free: 2.488 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 0.9458/0.9458, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08378/1.03, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.892/1.892, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4183/2.31, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.347e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001437/0.001451, allocations: 1.386 MB / 0.7307 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000625/0.002075, allocations: 0.5903 MB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.339e-05/0.002089, allocations: 0.625 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.552e-06/0.002095, allocations: 0 / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.787e-05/0.002113, allocations: 2.5 kB / 0.7312 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.00238, allocations: 150.5 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.734e-05/0.002427, allocations: 26.27 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.968e-05/0.002457, allocations: 4 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.905e-05/0.002506, allocations: 15.92 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.002542, allocations: 0.5 kB / 0.7314 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.649e-06/0.002552, allocations: 4.875 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.002876, allocations: 335.2 kB / 0.7317 GB, free: 2.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.002885, allocations: 5.438 kB / 0.7318 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.228e-05/0.002897, allocations: 4 kB / 0.7318 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.003063, allocations: 131.6 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.003073, allocations: 0 / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.1e-07/0.003073, allocations: 0.6562 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.003083, allocations: 0 / 0.7319 GB, free: 1.945 MB / 0.698 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.0002821/0.003365, allocations: 280.9 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.00339, allocations: 8.031 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.003416, allocations: 10.64 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.875e-05/0.003474, allocations: 105.8 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-06/0.003481, allocations: 384 / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.003501, allocations: 8.375 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.357e-05/0.003564, allocations: 61.02 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.003569, allocations: 192 / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-06/0.003574, allocations: 384 / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.003577, allocations: 4.938 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.003601, allocations: 19.84 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.41e-05/0.003675, allocations: 66.08 kB / 0.7324 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.003786, allocations: 34.61 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.0038, allocations: 13.45 kB / 0.7325 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.003812, allocations: 0.875 kB / 0.7325 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.003832, allocations: 38.55 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.003833, allocations: 0.75 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004663/0.004299, allocations: 229.9 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.658e-05/0.004316, allocations: 53.22 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.158e-05/0.004358, allocations: 106.7 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.004365, allocations: 25.7 kB / 0.7329 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.004384, allocations: 84.14 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.004407, allocations: 19.81 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.004433, allocations: 30.56 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.004502, allocations: 314.8 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.004511, allocations: 4.594 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.004519, allocations: 4 kB / 0.7333 GB, free: 288 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.183e-05/0.004551, allocations: 25.89 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.004552, allocations: 0 / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.086e-05/0.004603, allocations: 54.38 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.004614, allocations: 7.984 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004618, allocations: 1.031 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.004627, allocations: 0 / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.004665, allocations: 12 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.004667, allocations: 0.5312 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-06/0.004676, allocations: 0 / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.004681, allocations: 9.719 kB / 0.7334 GB, free: 172 kB / 0.698 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.222e-05/0.004723, allocations: 109.8 kB / 0.7336 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-06/0.004731, allocations: 11.92 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.622e-05/0.004817, allocations: 57.75 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00482, allocations: 1.219 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.004824, allocations: 4 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.00483, allocations: 3.984 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.004854, allocations: 5.812 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-06/0.004861, allocations: 4 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.004879, allocations: 0 / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.00489, allocations: 3.984 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.434e-05/0.004964, allocations: 133.4 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001107/0.005075, allocations: 227.8 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.142e-05/0.005096, allocations: 29.41 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.476e-06/0.005105, allocations: 8.844 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of Backend: time 3.4e-07/0.005105, allocations: 4.75 kB / 0.734 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.005385, allocations: 165.6 kB / 0.7342 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0004631/0.005848, allocations: 0.6403 MB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.002649/0.008497, allocations: 1.524 MB / 0.7363 GB, free: 13.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck/Buildings_12_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: 4.693092314526439]