Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001062/0.001062, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.001625/0.001625, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9588/0.9588, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.304/2.304, allocations: 439.8 MB / 0.6834 GB, free: 12.86 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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 3.938 kB / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.102e-05, allocations: 6.281 kB / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.001804/0.001835, allocations: 1.318 MB / 1.084 GB, free: 23.83 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.002605, allocations: 0.546 MB / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.002639, allocations: 0 / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/0.002661, allocations: 2.625 kB / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.002713, allocations: 3.938 kB / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.003231, allocations: 157.1 kB / 1.084 GB, free: 23.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.003288, allocations: 9.188 kB / 1.084 GB, free: 23.4 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.003339, allocations: 2.625 kB / 1.084 GB, free: 23.4 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.00338, allocations: 5.859 kB / 1.084 GB, free: 23.4 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.003434, allocations: 6.562 kB / 1.084 GB, free: 23.4 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.003447, allocations: 0 / 1.084 GB, free: 23.4 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.003785, allocations: 322.7 kB / 1.085 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.003801, allocations: 0 / 1.085 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.003821, allocations: 2.625 kB / 1.085 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.004041, allocations: 157.1 kB / 1.085 GB, free: 23.26 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004044, allocations: 2.75 kB / 1.085 GB, free: 23.26 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.273e-06/0.004045, allocations: 0 / 1.085 GB, free: 23.26 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.004057, allocations: 3.938 kB / 1.085 GB, free: 23.26 MB / 1.01 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.0003831/0.00444, allocations: 276.7 kB / 1.085 GB, free: 22.97 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.004489, allocations: 10.5 kB / 1.085 GB, free: 22.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004526, allocations: 0.9375 kB / 1.085 GB, free: 22.97 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.248e-05/0.004598, allocations: 107.8 kB / 1.085 GB, free: 22.85 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004612, allocations: 384 / 1.085 GB, free: 22.85 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.004621, allocations: 384 / 1.085 GB, free: 22.85 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.004724, allocations: 39.52 kB / 1.085 GB, free: 22.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.004733, allocations: 192 / 1.085 GB, free: 22.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004743, allocations: 4.359 kB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004749, allocations: 384 / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.573e-05/0.004774, allocations: 10.5 kB / 1.085 GB, free: 22.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.004878, allocations: 99.42 kB / 1.085 GB, free: 22.68 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.004931, allocations: 23.83 kB / 1.085 GB, free: 22.65 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.004948, allocations: 7.484 kB / 1.085 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.004972, allocations: 2.625 kB / 1.085 GB, free: 22.64 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.004991, allocations: 30.56 kB / 1.085 GB, free: 22.6 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004992, allocations: 4 kB / 1.085 GB, free: 22.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001624/0.005154, allocations: 55.27 kB / 1.086 GB, free: 22.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.005182, allocations: 51.41 kB / 1.086 GB, free: 22.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.005237, allocations: 103.5 kB / 1.086 GB, free: 22.38 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.005244, allocations: 25.7 kB / 1.086 GB, free: 22.35 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.335e-05/0.005258, allocations: 82.77 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.005287, allocations: 3.953 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.00531, allocations: 12.34 kB / 1.086 GB, free: 22.25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.005349, allocations: 317.5 kB / 1.086 GB, free: 21.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.005362, allocations: 4.25 kB / 1.086 GB, free: 21.93 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.005371, allocations: 6.047 kB / 1.086 GB, free: 21.93 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.005397, allocations: 10.11 kB / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005399, allocations: 0 / 1.086 GB, free: 21.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.034e-05/0.00544, allocations: 41.52 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.005453, allocations: 5.25 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005458, allocations: 2.625 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005472, allocations: 0 / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.005632, allocations: 11.25 kB / 1.086 GB, free: 21.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002086/0.00584, allocations: 0.5897 MB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.005855, allocations: 3.938 kB / 1.087 GB, free: 21.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.005861, allocations: 0 / 1.087 GB, free: 21.29 MB / 1.01 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.478e-05/0.005916, allocations: 116.4 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.005922, allocations: 6.562 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.912e-05/0.006021, allocations: 44.36 kB / 1.087 GB, free: 21.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.006023, allocations: 0 / 1.087 GB, free: 21.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.006027, allocations: 3.938 kB / 1.087 GB, free: 21.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006031, allocations: 4.125 kB / 1.087 GB, free: 21.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.925e-05/0.00608, allocations: 99.42 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.006083, allocations: 2.625 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.006136, allocations: 5.25 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006137, allocations: 2.625 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.006145, allocations: 3.938 kB / 1.087 GB, free: 20.99 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001253/0.00627, allocations: 0.5932 MB / 1.088 GB, free: 20.39 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006271, allocations: 0 / 1.088 GB, free: 20.39 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.056e-05/0.006312, allocations: 66.48 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-06/0.006319, allocations: 6.75 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.006329, allocations: 0 / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.006335, allocations: 3.938 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.00635, allocations: 3.469 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.006353, allocations: 2.625 kB / 1.088 GB, free: 20.32 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.00637, allocations: 81.91 kB / 1.088 GB, free: 20.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.00637, allocations: 0 / 1.088 GB, free: 20.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001402/0.006511, allocations: 14.44 kB / 1.088 GB, free: 20.23 MB / 1.01 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.000181/0.006692, allocations: 119 kB / 1.088 GB, free: 20.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.006843, allocations: 24.25 kB / 1.088 GB, free: 20.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.006845, allocations: 0 / 1.088 GB, free: 20.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.672e-05/0.006882, allocations: 17.88 kB / 1.088 GB, free: 20.12 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.007016, allocations: 9.312 kB / 1.088 GB, free: 20.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.007353, allocations: 121.4 kB / 1.088 GB, free: 19.99 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.007388, allocations: 59.8 kB / 1.088 GB, free: 19.92 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.007408, allocations: 12.62 kB / 1.088 GB, free: 19.91 MB / 1.01 GB Notification: Performance of SimCode: time 9.21e-07/0.007409, allocations: 0 / 1.088 GB, free: 19.91 MB / 1.01 GB Notification: Performance of Templates: time 0.002234/0.009643, allocations: 0.7687 MB / 1.089 GB, free: 19.88 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_inv.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: 7.578609612770379]