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.001547/0.001547, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001987/0.001987, allocations: 166.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.526/1.526, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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.782/2.782, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] 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.492e-06/1.492e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.661e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002389/0.002415, allocations: 1.275 MB / 0.9522 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.003447, allocations: 0.5253 MB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.003472, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.003492, allocations: 0 / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.869e-05/0.003531, allocations: 3.984 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.004094, allocations: 149.1 kB / 0.9529 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.004149, allocations: 11.94 kB / 0.9529 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004191, allocations: 3.984 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.004242, allocations: 8 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.004292, allocations: 0 / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.004309, allocations: 3.984 kB / 0.9529 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.004773, allocations: 271.4 kB / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.004784, allocations: 0 / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.004799, allocations: 0 / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.005092, allocations: 155.5 kB / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.005094, allocations: 0 / 0.9533 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005095, allocations: 4 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.0051, allocations: 0 / 0.9533 GB, free: 9.191 MB / 0.8575 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.0004203/0.00552, allocations: 282 kB / 0.9536 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.005557, allocations: 15.91 kB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.005582, allocations: 0.9375 kB / 0.9536 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005692, allocations: 105.8 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005703, allocations: 384 / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.005715, allocations: 384 / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.005807, allocations: 34.89 kB / 0.9537 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.005818, allocations: 4.125 kB / 0.9537 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.005825, allocations: 4.375 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.005829, allocations: 384 / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.005859, allocations: 11.94 kB / 0.9537 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.005999, allocations: 97.33 kB / 0.9538 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.272e-05/0.006062, allocations: 26.59 kB / 0.9539 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.006082, allocations: 8.922 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.006102, allocations: 0 / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.006132, allocations: 30.56 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.006133, allocations: 0 / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.006281, allocations: 49.64 kB / 0.9539 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.006324, allocations: 51.41 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.006403, allocations: 101.8 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.006419, allocations: 25.7 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.006456, allocations: 80.14 kB / 0.9542 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.00648, allocations: 7.953 kB / 0.9542 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006511, allocations: 13.72 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.006643, allocations: 310.8 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.006659, allocations: 7.984 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-06/0.006667, allocations: 256 / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.006701, allocations: 20.86 kB / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006702, allocations: 0 / 0.9545 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.457e-05/0.006767, allocations: 41.7 kB / 0.9546 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.006782, allocations: 4 kB / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006785, allocations: 0 / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006799, allocations: 0 / 0.9546 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.006948, allocations: 11.98 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004229/0.007371, allocations: 0.5898 MB / 0.9552 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.007395, allocations: 12.16 kB / 0.9552 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.007401, allocations: 0 / 0.9552 GB, free: 7.07 MB / 0.8575 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 7.817e-05/0.007479, allocations: 109.8 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.007493, allocations: 11.92 kB / 0.9553 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.007601, allocations: 41.02 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.007602, allocations: 0 / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.007606, allocations: 0 / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.00761, allocations: 3.984 kB / 0.9553 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.607e-05/0.007696, allocations: 109.2 kB / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007697, allocations: 4.031 kB / 0.9554 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.007776, allocations: 11.98 kB / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.007778, allocations: 0 / 0.9555 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.007788, allocations: 3.938 kB / 0.9555 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/0.008152, allocations: 0.5821 MB / 0.956 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008153, allocations: 0 / 0.956 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.513e-05/0.008238, allocations: 73.08 kB / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.008245, allocations: 3.953 kB / 0.9561 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.008258, allocations: 4 kB / 0.9561 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.008272, allocations: 4.125 kB / 0.9561 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.008289, allocations: 0 / 0.9561 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.008291, allocations: 0 / 0.9561 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.008339, allocations: 83.22 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.008339, allocations: 0 / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001937/0.008532, allocations: 4 kB / 0.9562 GB, free: 5.941 MB / 0.8575 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.0001808/0.008713, allocations: 119.1 kB / 0.9563 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.00887, allocations: 15.98 kB / 0.9563 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008872, allocations: 8.156 kB / 0.9563 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.00896, allocations: 11.98 kB / 0.9563 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.009101, allocations: 6.172 kB / 0.9564 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.009432, allocations: 104.9 kB / 0.9565 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.85e-05/0.00948, allocations: 63.16 kB / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.381e-05/0.009494, allocations: 0 / 0.9565 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.00951, allocations: 8.562 kB / 0.9565 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.00951, allocations: 4 kB / 0.9565 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of Templates: time 0.002961/0.01247, allocations: 490.8 kB / 0.957 GB, free: 5.113 MB / 0.8575 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=400 -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/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.161705885082483]