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.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.001856/0.001856, allocations: 83.75 kB / 20.23 MB, free: 4.18 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.002898/0.002898, allocations: 157.8 kB / 23.54 MB, free: 0.875 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.957/2.957, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.563e-06/1.563e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.837e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002645/0.002673, allocations: 1.281 MB / 0.7876 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.003787, allocations: 0.5609 MB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.00381, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.003825, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.003875, allocations: 3.938 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.004417, allocations: 145.3 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.004468, allocations: 11.92 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.004502, allocations: 4 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.004538, allocations: 5 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.004579, allocations: 7.938 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.004593, allocations: 0.9062 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004958/0.005089, allocations: 263.5 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.005107, allocations: 7.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.005122, allocations: 1.062 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.005423, allocations: 155.5 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005425, allocations: 4.438 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005427, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.00543, allocations: 1.25 kB / 0.7888 GB, free: 10.38 MB / 0.7448 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.0004729/0.005903, allocations: 372 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.005941, allocations: 12.03 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.005982, allocations: 6.531 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.00611, allocations: 112.6 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.006122, allocations: 384 / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.00613, allocations: 384 / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.006219, allocations: 31.52 kB / 0.7893 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006228, allocations: 192 / 0.7893 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.006234, allocations: 384 / 0.7893 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.006238, allocations: 3.375 kB / 0.7893 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.055e-05/0.006268, allocations: 11.88 kB / 0.7893 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.006436, allocations: 116.6 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.607e-05/0.006502, allocations: 27.09 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.00653, allocations: 15.75 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.00655, allocations: 0 / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.006585, allocations: 37.39 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.006586, allocations: 0.7188 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.006751, allocations: 55.23 kB / 0.7895 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.006794, allocations: 51.41 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.006913, allocations: 157.9 kB / 0.7897 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.006933, allocations: 25.7 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.006999, allocations: 128 kB / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.007023, allocations: 3.953 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.007061, allocations: 23.38 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.007311, allocations: 497.2 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.007326, allocations: 4 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.007335, allocations: 1.75 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.007372, allocations: 23.62 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007374, allocations: 0 / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.824e-05/0.007442, allocations: 37.64 kB / 0.7904 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007457, allocations: 9.172 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007462, allocations: 0 / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.00748, allocations: 4 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.007636, allocations: 8.562 kB / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006404/0.008276, allocations: 0.8987 MB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.008294, allocations: 0 / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.008303, allocations: 3.984 kB / 0.7913 GB, free: 7.516 MB / 0.7448 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 0.0001107/0.008413, allocations: 158.8 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.008426, allocations: 11.86 kB / 0.7915 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.00854, allocations: 45 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008541, allocations: 0 / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.008544, allocations: 0.9062 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.008546, allocations: 4 kB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.008657, allocations: 113.1 kB / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008658, allocations: 0 / 0.7917 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.00874, allocations: 12.64 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.008745, allocations: 4.531 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.008753, allocations: 7.938 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000573/0.009326, allocations: 0.8984 MB / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009327, allocations: 0 / 0.7926 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.009432, allocations: 80.91 kB / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-06/0.009437, allocations: 1.375 kB / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.009446, allocations: 0 / 0.7926 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.73e-05/0.009464, allocations: 4 kB / 0.7926 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.009481, allocations: 0.8125 kB / 0.7926 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.009484, allocations: 0 / 0.7926 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.099e-05/0.009555, allocations: 128.1 kB / 0.7928 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009555, allocations: 0 / 0.7928 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001952/0.00975, allocations: 5.344 kB / 0.7928 GB, free: 5.957 MB / 0.7448 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.0001902/0.00994, allocations: 115.1 kB / 0.7929 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001798/0.01012, allocations: 24.55 kB / 0.7929 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.01012, allocations: 10.03 kB / 0.7929 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.01023, allocations: 19.67 kB / 0.7929 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.01037, allocations: 3.938 kB / 0.7929 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.0107, allocations: 107 kB / 0.793 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.092e-05/0.01076, allocations: 62.78 kB / 0.7931 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.01077, allocations: 3.938 kB / 0.7931 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.01079, allocations: 8.5 kB / 0.7931 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.01079, allocations: 4 kB / 0.7931 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.003358/0.01415, allocations: 0.4962 MB / 0.7936 GB, free: 5.109 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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.00753074302338]