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.0009572/0.0009572, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001243/0.001243, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.043/1.043, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.441/2.441, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] 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.933e-06/1.933e-06, allocations: 0 / 0.8898 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.812e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002192/0.00222, allocations: 1.335 MB / 0.8911 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.003083, allocations: 0.5448 MB / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.003123, allocations: 0 / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.003143, allocations: 0 / 0.8916 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.003201, allocations: 11.92 kB / 0.8916 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.003642, allocations: 143.3 kB / 0.8917 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.00369, allocations: 7.938 kB / 0.8918 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.003729, allocations: 0 / 0.8918 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.003765, allocations: 7.984 kB / 0.8918 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.003811, allocations: 4 kB / 0.8918 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.003825, allocations: 3.938 kB / 0.8918 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.004176, allocations: 263.5 kB / 0.892 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.004192, allocations: 3.984 kB / 0.892 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/0.004209, allocations: 7.938 kB / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.00443, allocations: 143.6 kB / 0.8922 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004434, allocations: 0 / 0.8922 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004435, allocations: 0 / 0.8922 GB, free: 7.312 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.004438, allocations: 0 / 0.8922 GB, free: 7.312 MB / 0.8542 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.0003289/0.004767, allocations: 388.3 kB / 0.8925 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.004814, allocations: 8.625 kB / 0.8925 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.004842, allocations: 4.875 kB / 0.8926 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.004923, allocations: 116.6 kB / 0.8927 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004935, allocations: 384 / 0.8927 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.004942, allocations: 384 / 0.8927 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.288e-05/0.005015, allocations: 34.27 kB / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005022, allocations: 192 / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-06/0.005028, allocations: 384 / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005033, allocations: 384 / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.429e-05/0.005048, allocations: 11.92 kB / 0.8927 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.005155, allocations: 97.27 kB / 0.8928 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.005195, allocations: 31.03 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.217e-05/0.005207, allocations: 7.688 kB / 0.8928 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.005234, allocations: 11.98 kB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.005255, allocations: 33.39 kB / 0.8929 GB, free: 6.461 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.005256, allocations: 4 kB / 0.8929 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000113/0.005369, allocations: 41.69 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.005397, allocations: 55.34 kB / 0.893 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.005464, allocations: 153.9 kB / 0.8931 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.005476, allocations: 25.7 kB / 0.8932 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.005511, allocations: 126.9 kB / 0.8933 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.005542, allocations: 15.86 kB / 0.8933 GB, free: 6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.005569, allocations: 19.38 kB / 0.8933 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.005694, allocations: 496.1 kB / 0.8938 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.005706, allocations: 4.25 kB / 0.8938 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-06/0.005714, allocations: 8 kB / 0.8938 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.766e-05/0.005742, allocations: 15.69 kB / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005744, allocations: 0 / 0.8938 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.436e-05/0.005808, allocations: 45.58 kB / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.005822, allocations: 8 kB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005827, allocations: 0 / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.00584, allocations: 3.938 kB / 0.8939 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.005963, allocations: 8 kB / 0.8939 GB, free: 5.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003511/0.006314, allocations: 0.9011 MB / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.006334, allocations: 0 / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.006338, allocations: 0 / 0.8947 GB, free: 4.445 MB / 0.8542 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 6.661e-05/0.006405, allocations: 160.6 kB / 0.8949 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.006411, allocations: 0 / 0.8949 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.82e-05/0.006499, allocations: 52.88 kB / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.006501, allocations: 0 / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.006503, allocations: 0 / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006506, allocations: 96 / 0.895 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.031e-05/0.006566, allocations: 97.27 kB / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.006568, allocations: 0 / 0.895 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.466e-05/0.006633, allocations: 11.98 kB / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.006637, allocations: 0 / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.006642, allocations: 0 / 0.8951 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003205/0.006963, allocations: 0.8932 MB / 0.8959 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.006965, allocations: 3.938 kB / 0.8959 GB, free: 3.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.007029, allocations: 76.39 kB / 0.896 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.00704, allocations: 4.031 kB / 0.896 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.00705, allocations: 4 kB / 0.896 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.007061, allocations: 0 / 0.896 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.007078, allocations: 4 kB / 0.896 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.007082, allocations: 4 kB / 0.896 GB, free: 3.047 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.007129, allocations: 127.2 kB / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.007129, allocations: 0 / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001308/0.00726, allocations: 11.94 kB / 0.8962 GB, free: 2.91 MB / 0.8542 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.0001829/0.007442, allocations: 103.2 kB / 0.8963 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.00756, allocations: 35.7 kB / 0.8963 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007562, allocations: 0 / 0.8963 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.007591, allocations: 15.69 kB / 0.8963 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.007695, allocations: 0 / 0.8963 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.007932, allocations: 118.4 kB / 0.8964 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.069e-05/0.007963, allocations: 59.2 kB / 0.8965 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.347e-05/0.007976, allocations: 4.125 kB / 0.8965 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.008008, allocations: 70.2 kB / 0.8965 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.008008, allocations: 0 / 0.8965 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of Templates: time 0.002032/0.01004, allocations: 0.5133 MB / 0.897 GB, free: 1.969 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] 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","",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.415636727120727]