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.0009229/0.0009229, allocations: 79.75 kB / 20.08 MB, free: 4.176 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.0009273/0.0009273, allocations: 156.9 kB / 23.51 MB, free: 0.7539 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 0.9158/0.9158, allocations: 177.1 MB / 204 MB, free: 5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.293/2.293, allocations: 439.8 MB / 0.6839 GB, free: 12.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.112e-06/1.112e-06, allocations: 0 / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.886e-05, allocations: 4.984 kB / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001692/0.001711, allocations: 1.428 MB / 0.8417 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007065/0.002417, allocations: 0.5837 MB / 0.8423 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.002447, allocations: 0 / 0.8423 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.002464, allocations: 3.984 kB / 0.8423 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.11e-05/0.002505, allocations: 3.938 kB / 0.8423 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.002939, allocations: 143.3 kB / 0.8424 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.117e-05/0.00299, allocations: 27.86 kB / 0.8424 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.907e-05/0.003019, allocations: 7.938 kB / 0.8424 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.003068, allocations: 11.97 kB / 0.8424 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.226e-05/0.00311, allocations: 8 kB / 0.8425 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.003119, allocations: 0 / 0.8425 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.003465, allocations: 327.3 kB / 0.8428 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.003477, allocations: 0 / 0.8428 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003496, allocations: 15.92 kB / 0.8428 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.00368, allocations: 155.5 kB / 0.8429 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.003682, allocations: 3.938 kB / 0.8429 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003683, allocations: 3.938 kB / 0.8429 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.003686, allocations: 4 kB / 0.8429 GB, free: 9.879 MB / 0.8073 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.0002876/0.003974, allocations: 260.2 kB / 0.8432 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.004005, allocations: 12.03 kB / 0.8432 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.012e-05/0.004025, allocations: 0.9375 kB / 0.8432 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.936e-05/0.004094, allocations: 105.8 kB / 0.8433 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.004104, allocations: 4.375 kB / 0.8433 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.004123, allocations: 8.328 kB / 0.8433 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.361e-05/0.004197, allocations: 59.95 kB / 0.8434 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.004203, allocations: 192 / 0.8434 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.004209, allocations: 384 / 0.8434 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.004214, allocations: 4.375 kB / 0.8434 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.004235, allocations: 19.86 kB / 0.8434 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.839e-05/0.004313, allocations: 61.05 kB / 0.8435 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.004436, allocations: 34.59 kB / 0.8435 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.00445, allocations: 12.86 kB / 0.8435 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.004462, allocations: 0 / 0.8435 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.004483, allocations: 38.56 kB / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.004483, allocations: 0 / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004198/0.004903, allocations: 229.1 kB / 0.8438 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.004931, allocations: 55.39 kB / 0.8438 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.004977, allocations: 102.7 kB / 0.8439 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.004987, allocations: 29.7 kB / 0.8439 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.035e-05/0.005007, allocations: 84.14 kB / 0.844 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.005029, allocations: 11.86 kB / 0.844 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.005058, allocations: 33.64 kB / 0.8441 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.005125, allocations: 314.8 kB / 0.8444 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.005134, allocations: 4 kB / 0.8444 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.005144, allocations: 7.984 kB / 0.8444 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.005175, allocations: 32.97 kB / 0.8444 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005175, allocations: 3.938 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.892e-05/0.005224, allocations: 49.62 kB / 0.8445 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005236, allocations: 8 kB / 0.8445 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00524, allocations: 0 / 0.8445 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.764e-06/0.005248, allocations: 0 / 0.8445 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.659e-05/0.005285, allocations: 16 kB / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005287, allocations: 0 / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-06/0.005297, allocations: 3.938 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.0053, allocations: 0 / 0.8445 GB, free: 8.113 MB / 0.8073 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.577e-05/0.005346, allocations: 117.8 kB / 0.8446 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-06/0.005353, allocations: 8 kB / 0.8446 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.005421, allocations: 53.75 kB / 0.8446 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005423, allocations: 3.984 kB / 0.8447 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.005426, allocations: 4.125 kB / 0.8447 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.005429, allocations: 4 kB / 0.8447 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.005578, allocations: 207.6 kB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005579, allocations: 4 kB / 0.8449 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.005612, allocations: 8 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.005615, allocations: 4 kB / 0.8449 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.005619, allocations: 4.031 kB / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.00562, allocations: 0 / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005621, allocations: 0 / 0.8449 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.005719, allocations: 168.2 kB / 0.845 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.005733, allocations: 8.5 kB / 0.845 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.005742, allocations: 4 kB / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.005774, allocations: 0 / 0.845 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.005786, allocations: 11.92 kB / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005789, allocations: 0 / 0.8451 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.546e-06/0.005798, allocations: 12.84 kB / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005798, allocations: 0 / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001555/0.005954, allocations: 47.84 kB / 0.8451 GB, free: 7.395 MB / 0.8073 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.000152/0.006106, allocations: 124.2 kB / 0.8452 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.885e-05/0.006164, allocations: 36.72 kB / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.006167, allocations: 0 / 0.8453 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.384e-05/0.006181, allocations: 20.84 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.918e-05/0.00628, allocations: 2.875 kB / 0.8453 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.006674, allocations: 193.5 kB / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.006707, allocations: 59.34 kB / 0.8455 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.00673, allocations: 7.938 kB / 0.8455 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.006769, allocations: 59.38 kB / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.00677, allocations: 0 / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of Templates: time 0.002493/0.009263, allocations: 1.076 MB / 0.8467 GB, free: 5.809 MB / 0.8073 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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_inv_DerivativeCheck.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: 5.084822962991893]