Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001927/0.001927, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002567/0.002567, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.237/3.237, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.744e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002766/0.002793, allocations: 1.303 MB / 0.8789 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003938, allocations: 0.5096 MB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.003964, allocations: 4 kB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.003987, allocations: 3.938 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.004051, allocations: 3.938 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.004688, allocations: 137.5 kB / 0.8795 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.357e-05/0.004741, allocations: 7.938 kB / 0.8795 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.004781, allocations: 7.984 kB / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.004817, allocations: 12.95 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.00487, allocations: 4 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.004883, allocations: 3.938 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000522/0.005405, allocations: 264.6 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.005421, allocations: 3.938 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.005452, allocations: 4 kB / 0.8798 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.005772, allocations: 152.5 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005774, allocations: 0 / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.367e-06/0.005778, allocations: 4 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.005781, allocations: 2.469 kB / 0.88 GB, free: 4.047 MB / 0.8386 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.0005047/0.006286, allocations: 278 kB / 0.8802 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.006326, allocations: 8.031 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.006368, allocations: 0.9375 kB / 0.8802 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.0065, allocations: 105.8 kB / 0.8803 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.006513, allocations: 4.312 kB / 0.8803 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.006523, allocations: 2.438 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.006629, allocations: 38.23 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.006639, allocations: 192 / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006649, allocations: 384 / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006652, allocations: 384 / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.063e-05/0.006683, allocations: 12.66 kB / 0.8804 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.006847, allocations: 97.33 kB / 0.8805 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.006926, allocations: 28.2 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.006954, allocations: 12.91 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.006976, allocations: 0 / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.00701, allocations: 31.06 kB / 0.8806 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.007011, allocations: 4 kB / 0.8806 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.007196, allocations: 39.58 kB / 0.8806 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.007251, allocations: 51.41 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.007362, allocations: 101.8 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.007384, allocations: 26.89 kB / 0.8808 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.007441, allocations: 80.14 kB / 0.8809 GB, free: 3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.007472, allocations: 15.89 kB / 0.8809 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.007512, allocations: 11.31 kB / 0.8809 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.007689, allocations: 310.8 kB / 0.8812 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.007702, allocations: 4 kB / 0.8812 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.007716, allocations: 11.92 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/0.007754, allocations: 17.17 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.007756, allocations: 0 / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9e-05/0.007846, allocations: 37.7 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.007862, allocations: 4 kB / 0.8812 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.00787, allocations: 4 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.00789, allocations: 0 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.00806, allocations: 15.92 kB / 0.8813 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005165/0.008577, allocations: 0.5859 MB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.0086, allocations: 3.938 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.008605, allocations: 4.125 kB / 0.8818 GB, free: 1.938 MB / 0.8386 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 9.792e-05/0.008703, allocations: 109.9 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.008715, allocations: 3.938 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.008851, allocations: 48.94 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.008853, allocations: 0 / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.008861, allocations: 4 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.008863, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.008972, allocations: 101.3 kB / 0.8821 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.008976, allocations: 4 kB / 0.8821 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.009055, allocations: 12.03 kB / 0.8821 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.009061, allocations: 4 kB / 0.8821 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.009072, allocations: 7.922 kB / 0.8821 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005247/0.009597, allocations: 0.5782 MB / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009598, allocations: 0 / 0.8827 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.009707, allocations: 69.05 kB / 0.8828 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.009718, allocations: 7.938 kB / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.009729, allocations: 0 / 0.8828 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.765e-05/0.009746, allocations: 4 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.009761, allocations: 4.125 kB / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.009763, allocations: 0 / 0.8828 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.009817, allocations: 83.28 kB / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.009817, allocations: 0 / 0.8829 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002031/0.01002, allocations: 4 kB / 0.8829 GB, free: 0.8125 MB / 0.8386 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.0001861/0.01021, allocations: 111.2 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01037, allocations: 19.92 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01038, allocations: 4.094 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01048, allocations: 23.98 kB / 0.883 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.01064, allocations: 3.938 kB / 0.883 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.011, allocations: 96.8 kB / 0.8831 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.782e-05/0.01105, allocations: 55.36 kB / 0.8832 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.385e-05/0.01107, allocations: 0 / 0.8832 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.01109, allocations: 8.5 kB / 0.8832 GB, free: 452 kB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.01109, allocations: 4.062 kB / 0.8832 GB, free: 448 kB / 0.8386 GB Notification: Performance of Templates: time 0.003351/0.01444, allocations: 493.4 kB / 0.8836 GB, free: 0 / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.153670090949163]