Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0009874/0.0009874, allocations: 80.81 kB / 20.75 MB, free: 3.734 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.001122/0.001122, allocations: 161 kB / 24.17 MB, free: 320 kB / 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.086/1.086, allocations: 177.1 MB / 204.6 MB, free: 5.469 MB / 186.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 2/2, allocations: 377.9 MB / 0.624 GB, free: 8.316 MB / 0.5886 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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 4 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.992e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002471/0.0025, allocations: 1.358 MB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003551, allocations: 0.5567 MB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.003592, allocations: 4.812 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.003621, allocations: 0 / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.003697, allocations: 0.875 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006509/0.004348, allocations: 146.1 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.004406, allocations: 8.875 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.004451, allocations: 7.984 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.004486, allocations: 5.031 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.004533, allocations: 4 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.004546, allocations: 0 / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.004912, allocations: 272.1 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.00493, allocations: 7.984 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.004944, allocations: 1.781 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.005143, allocations: 151.5 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005145, allocations: 0 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.113e-06/0.005146, allocations: 0 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00515, allocations: 0 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002909/0.005441, allocations: 253.3 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.00548, allocations: 8.031 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.005506, allocations: 1.875 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.005593, allocations: 113.7 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.005603, allocations: 1.312 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.411e-06/0.005608, allocations: 384 / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.263e-05/0.005671, allocations: 35.02 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.005678, allocations: 192 / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.005684, allocations: 1.125 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005689, allocations: 384 / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.229e-05/0.005702, allocations: 8.5 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.889e-05/0.005791, allocations: 57.05 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.005831, allocations: 28.72 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.138e-05/0.005842, allocations: 4.859 kB / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.005855, allocations: 0 / 0.763 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.005878, allocations: 34.62 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.005878, allocations: 0 / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 8.81e-05/0.005967, allocations: 37.14 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.005998, allocations: 63.28 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.006052, allocations: 98.7 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.006061, allocations: 25.7 kB / 0.7632 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.006084, allocations: 88.12 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.00611, allocations: 8.234 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.006132, allocations: 13.72 kB / 0.7633 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.006214, allocations: 317.4 kB / 0.7637 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-06/0.006221, allocations: 3.984 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.006229, allocations: 4 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.006255, allocations: 8.859 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006257, allocations: 0 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.685e-05/0.006303, allocations: 38.36 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.006318, allocations: 11.98 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.006323, allocations: 1.312 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.006336, allocations: 0 / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.006448, allocations: 8 kB / 0.7637 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000249/0.006697, allocations: 0.5788 MB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.00671, allocations: 6.438 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.006717, allocations: 7.984 kB / 0.7643 GB, free: 2.062 MB / 0.7136 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.006772, allocations: 105.8 kB / 0.7644 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.006777, allocations: 4 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.839e-05/0.006856, allocations: 48.89 kB / 0.7645 GB, free: 1.895 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.00686, allocations: 6.688 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006861, allocations: 0 / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006864, allocations: 0 / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.175e-05/0.006916, allocations: 61.91 kB / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.006917, allocations: 0 / 0.7645 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.006967, allocations: 15.97 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006969, allocations: 0 / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.006972, allocations: 1.219 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000197/0.007169, allocations: 0.5821 MB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00717, allocations: 1.281 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.401e-05/0.007214, allocations: 65.05 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.007222, allocations: 3.938 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.00723, allocations: 5.562 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-06/0.007237, allocations: 0 / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.007246, allocations: 3.938 kB / 0.7652 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.007249, allocations: 0 / 0.7652 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.091e-05/0.00726, allocations: 13.5 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.00726, allocations: 0.6562 kB / 0.7652 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000114/0.007374, allocations: 7.938 kB / 0.7652 GB, free: 1.074 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.007645, allocations: 89.52 kB / 0.7653 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.007749, allocations: 25.88 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.007752, allocations: 0 / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.007783, allocations: 18.34 kB / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.595e-05/0.007849, allocations: 0 / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.008095, allocations: 117.8 kB / 0.7654 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.00813, allocations: 51.36 kB / 0.7655 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.921e-05/0.008149, allocations: 9.172 kB / 0.7655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.008177, allocations: 52.58 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/0.008177, allocations: 0 / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of Templates: time 0.002156/0.01033, allocations: 0.535 MB / 0.7661 GB, free: 192 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.133826311677694]