Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 201.6 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 60.05 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8216, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002606/0.8242, allocations: 1.261 MB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.8253, allocations: 0.6032 MB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.8254, allocations: 0 / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.8254, allocations: 0 / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.8254, allocations: 0 / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.826, allocations: 143.4 kB / 1.276 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.027e-05/0.8261, allocations: 7.938 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.8261, allocations: 0 / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.099e-05/0.8261, allocations: 11.98 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.8262, allocations: 7.922 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.8262, allocations: 4 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.8267, allocations: 339.3 kB / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.527e-06/0.8268, allocations: 0 / 1.276 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.8268, allocations: 4 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.827, allocations: 146.2 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.827, allocations: 0 / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.827, allocations: 4 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.827, allocations: 0 / 1.277 GB, free: 2.031 MB / 0.9669 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.0004639/0.8275, allocations: 355.1 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8275, allocations: 8.031 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.8276, allocations: 0.9375 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.8277, allocations: 168.4 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.8277, allocations: 384 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.8277, allocations: 384 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.8278, allocations: 34.27 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.8279, allocations: 4.125 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8279, allocations: 7.938 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.8279, allocations: 0 / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.8279, allocations: 4 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.8281, allocations: 153.7 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.011e-05/0.8281, allocations: 22.58 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.8282, allocations: 4.859 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.8282, allocations: 15.98 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.8282, allocations: 34.55 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8282, allocations: 0 / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.8284, allocations: 49.53 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.8284, allocations: 51.41 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.8285, allocations: 93.86 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.8285, allocations: 25.95 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.8286, allocations: 92.12 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.8286, allocations: 7.938 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.8286, allocations: 9.719 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8288, allocations: 310.8 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.8288, allocations: 7.938 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.8288, allocations: 4 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.8288, allocations: 16.8 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8288, allocations: 4.062 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.017e-05/0.8289, allocations: 45.64 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.8289, allocations: 5.719 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8289, allocations: 3.938 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.8289, allocations: 0 / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.8291, allocations: 11.98 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.8295, allocations: 0.5821 MB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.8296, allocations: 8.156 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.8296, allocations: 0 / 1.279 GB, free: 15.67 MB / 0.9825 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 8.497e-05/0.8297, allocations: 111.3 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.8297, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.8298, allocations: 44.81 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8298, allocations: 4 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8298, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8298, allocations: 4.031 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.8299, allocations: 157.6 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.8299, allocations: 0 / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.807e-05/0.83, allocations: 8 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.83, allocations: 3.984 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.83, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003632/0.8304, allocations: 0.5859 MB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.8304, allocations: 3.938 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.157e-05/0.8305, allocations: 66.78 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.8305, allocations: 85.09 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.8305, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.649e-05/0.8305, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.8306, allocations: 11.88 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.8306, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.8306, allocations: 83.31 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8306, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001943/0.8308, allocations: 11.94 kB / 1.28 GB, free: 14.38 MB / 0.9825 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.0001701/0.831, allocations: 111.8 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.8311, allocations: 19.98 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8311, allocations: 0 / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.8312, allocations: 15.98 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.8314, allocations: 5.438 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.8317, allocations: 129.8 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.832, allocations: 0.6729 MB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.8321, allocations: 0 / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.8321, allocations: 7.438 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.8321, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of Templates: time 0.002943/0.835, allocations: 475.3 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.87799432920292]