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.001004/0.001004, allocations: 83.67 kB / 20.98 MB, free: 3.32 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.004551/0.004551, allocations: 155.3 kB / 24.44 MB, free: 9.23 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.9196/0.9196, allocations: 177.2 MB / 204.9 MB, free: 5.441 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.323/2.323, allocations: 439.8 MB / 0.6848 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 2.034e-06/2.034e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.728e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.002977/0.003004, allocations: 1.43 MB / 0.8426 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.004058, allocations: 0.5875 MB / 0.8432 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.004093, allocations: 4 kB / 0.8432 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.004116, allocations: 0 / 0.8432 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.004168, allocations: 3.938 kB / 0.8432 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.004815, allocations: 147.2 kB / 0.8433 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.00489, allocations: 23.86 kB / 0.8434 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.004936, allocations: 0 / 0.8434 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.005013, allocations: 19.92 kB / 0.8434 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.005068, allocations: 7.984 kB / 0.8434 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.00508, allocations: 4 kB / 0.8434 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.005632, allocations: 319.4 kB / 0.8437 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.005654, allocations: 15.88 kB / 0.8437 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.005672, allocations: 0 / 0.8437 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.005994, allocations: 167.4 kB / 0.8439 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.005997, allocations: 0 / 0.8439 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005998, allocations: 0 / 0.8439 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.006003, allocations: 0 / 0.8439 GB, free: 9.941 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.0003749/0.006378, allocations: 256.3 kB / 0.8441 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.006418, allocations: 8.031 kB / 0.8441 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.006452, allocations: 8.938 kB / 0.8441 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.006543, allocations: 109.7 kB / 0.8442 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.006557, allocations: 4.375 kB / 0.8442 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.006585, allocations: 12.3 kB / 0.8443 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.006682, allocations: 63.95 kB / 0.8443 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.006691, allocations: 4.125 kB / 0.8443 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.006699, allocations: 4.375 kB / 0.8443 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006708, allocations: 384 / 0.8443 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.006731, allocations: 7.938 kB / 0.8443 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.006838, allocations: 57.05 kB / 0.8444 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.007004, allocations: 34.61 kB / 0.8444 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.007028, allocations: 16.86 kB / 0.8444 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007047, allocations: 8.078 kB / 0.8444 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.007071, allocations: 30.56 kB / 0.8445 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.007072, allocations: 0 / 0.8445 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005887/0.007661, allocations: 225.1 kB / 0.8447 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.0077, allocations: 55.41 kB / 0.8447 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.007769, allocations: 106.7 kB / 0.8448 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.007782, allocations: 25.7 kB / 0.8449 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.007809, allocations: 84.14 kB / 0.8449 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.007846, allocations: 23.78 kB / 0.845 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.007882, allocations: 25.66 kB / 0.845 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.007979, allocations: 318.7 kB / 0.8453 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.007993, allocations: 7.984 kB / 0.8453 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.008008, allocations: 11.98 kB / 0.8453 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.008054, allocations: 28.77 kB / 0.8453 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008057, allocations: 4.062 kB / 0.8453 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.745e-05/0.008134, allocations: 49.69 kB / 0.8454 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.008149, allocations: 6.344 kB / 0.8454 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.008154, allocations: 4 kB / 0.8454 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.008163, allocations: 0 / 0.8454 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.008218, allocations: 15.98 kB / 0.8454 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.008222, allocations: 0 / 0.8454 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.813e-05/0.00824, allocations: 7.938 kB / 0.8454 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.008245, allocations: 0 / 0.8454 GB, free: 8.16 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 7.053e-05/0.008316, allocations: 109.8 kB / 0.8455 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.008329, allocations: 8 kB / 0.8455 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.008431, allocations: 57.8 kB / 0.8456 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.008434, allocations: 0 / 0.8456 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.008435, allocations: 0 / 0.8456 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.008439, allocations: 4 kB / 0.8456 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.00868, allocations: 211.6 kB / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008682, allocations: 0 / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.008745, allocations: 15.98 kB / 0.8458 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.008748, allocations: 0 / 0.8458 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.008755, allocations: 0 / 0.8458 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.008759, allocations: 4 kB / 0.8458 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.00876, allocations: 0 / 0.8458 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.008907, allocations: 160.3 kB / 0.846 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.00893, allocations: 8 kB / 0.846 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.008943, allocations: 8.25 kB / 0.846 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.009004, allocations: 4 kB / 0.846 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.009024, allocations: 7.922 kB / 0.846 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.009036, allocations: 4 kB / 0.846 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.308e-05/0.009049, allocations: 8.844 kB / 0.846 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.00905, allocations: 0 / 0.846 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002838/0.009333, allocations: 47.8 kB / 0.8461 GB, free: 7.453 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.0002269/0.00956, allocations: 120.2 kB / 0.8462 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.009653, allocations: 32.78 kB / 0.8462 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.009658, allocations: 8 kB / 0.8462 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.297e-05/0.009681, allocations: 20.78 kB / 0.8462 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.009839, allocations: 8 kB / 0.8462 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.01041, allocations: 181.9 kB / 0.8464 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01045, allocations: 63.34 kB / 0.8465 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.01049, allocations: 3.938 kB / 0.8465 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.01054, allocations: 55.38 kB / 0.8465 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of SimCode: time 7.61e-07/0.01054, allocations: 0 / 0.8465 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of Templates: time 0.003723/0.01426, allocations: 1.094 MB / 0.8476 GB, free: 5.855 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.038301706314087]