Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.0009234/0.0009234, allocations: 108.3 kB / 19.71 MB, free: 436 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.0009208/0.0009208, allocations: 213.1 kB / 23 MB, free: 2.957 MB / 13.93 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 0.9787/0.9787, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.435/2.435, allocations: 0.5701 GB / 0.876 GB, free: 16.51 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.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_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 73.64 kB / 1.275 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 196.8 MB / 1.467 GB, free: 3.738 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001876/0.3033, allocations: 1.32 MB / 1.468 GB, free: 2.406 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.0006496/0.3039, allocations: 0.5233 MB / 1.469 GB, free: 1.883 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.3039, allocations: 0 / 1.469 GB, free: 1.883 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.3039, allocations: 0 / 1.469 GB, free: 1.883 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.304, allocations: 3.938 kB / 1.469 GB, free: 1.879 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3044, allocations: 159.4 kB / 1.469 GB, free: 1.723 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.3045, allocations: 12 kB / 1.469 GB, free: 1.711 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.3045, allocations: 3.984 kB / 1.469 GB, free: 1.707 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.3045, allocations: 7.938 kB / 1.469 GB, free: 1.699 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/0.3046, allocations: 0 / 1.469 GB, free: 1.699 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.3046, allocations: 0 / 1.469 GB, free: 1.699 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.3049, allocations: 315.4 kB / 1.469 GB, free: 1.391 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3049, allocations: 0 / 1.469 GB, free: 1.391 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 1.747e-05/0.3049, allocations: 11.92 kB / 1.469 GB, free: 1.379 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.3051, allocations: 131.6 kB / 1.47 GB, free: 1.25 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3051, allocations: 3.938 kB / 1.47 GB, free: 1.246 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3051, allocations: 0 / 1.47 GB, free: 1.246 MB / 1.135 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3051, allocations: 0 / 1.47 GB, free: 1.246 MB / 1.135 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.0003136/0.3054, allocations: 278 kB / 1.47 GB, free: 0.9414 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3055, allocations: 11.98 kB / 1.47 GB, free: 0.9297 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.3055, allocations: 4.891 kB / 1.47 GB, free: 0.9258 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.3056, allocations: 106.5 kB / 1.47 GB, free: 0.7969 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.3056, allocations: 384 / 1.47 GB, free: 0.7969 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.3056, allocations: 4.312 kB / 1.47 GB, free: 0.793 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.756e-05/0.3057, allocations: 46.19 kB / 1.47 GB, free: 0.7422 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3057, allocations: 192 / 1.47 GB, free: 0.7422 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3057, allocations: 3.938 kB / 1.47 GB, free: 0.7383 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3057, allocations: 0 / 1.47 GB, free: 0.7383 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.3057, allocations: 4 kB / 1.47 GB, free: 0.7344 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.3058, allocations: 101.3 kB / 1.47 GB, free: 0.6055 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/0.3059, allocations: 22.59 kB / 1.47 GB, free: 0.5742 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.3059, allocations: 8.922 kB / 1.47 GB, free: 0.5625 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3059, allocations: 0 / 1.47 GB, free: 0.5625 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.3059, allocations: 34.5 kB / 1.47 GB, free: 0.5195 MB / 1.135 GB Notification: Performance of pre-optimization done (n=2): time 6.52e-07/0.3059, allocations: 4 kB / 1.47 GB, free: 0.5156 MB / 1.135 GB Notification: Performance of matching and sorting (n=2): time 0.000121/0.306, allocations: 45.64 kB / 1.47 GB, free: 476 kB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3061, allocations: 51.41 kB / 1.47 GB, free: 412 kB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.3061, allocations: 101.8 kB / 1.47 GB, free: 300 kB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3061, allocations: 25.7 kB / 1.47 GB, free: 268 kB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.3061, allocations: 80.14 kB / 1.47 GB, free: 184 kB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.3062, allocations: 7.938 kB / 1.47 GB, free: 176 kB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.3062, allocations: 13.72 kB / 1.47 GB, free: 156 kB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.3063, allocations: 314.8 kB / 1.471 GB, free: 15.84 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.3063, allocations: 12.23 kB / 1.471 GB, free: 15.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.3063, allocations: 0 / 1.471 GB, free: 15.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.3063, allocations: 20.8 kB / 1.471 GB, free: 15.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3063, allocations: 0 / 1.471 GB, free: 15.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.917e-05/0.3063, allocations: 37.69 kB / 1.471 GB, free: 15.76 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3064, allocations: 4 kB / 1.471 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3064, allocations: 0 / 1.471 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3064, allocations: 3.938 kB / 1.471 GB, free: 15.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3065, allocations: 11.98 kB / 1.471 GB, free: 15.74 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002352/0.3067, allocations: 0.59 MB / 1.471 GB, free: 15.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.3067, allocations: 0 / 1.471 GB, free: 15.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3068, allocations: 0 / 1.471 GB, free: 15.12 MB / 1.151 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 5.307e-05/0.3068, allocations: 121.7 kB / 1.472 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.3068, allocations: 11.97 kB / 1.472 GB, free: 14.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.3069, allocations: 44.95 kB / 1.472 GB, free: 14.93 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3069, allocations: 0 / 1.472 GB, free: 14.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3069, allocations: 3.938 kB / 1.472 GB, free: 14.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3069, allocations: 8.109 kB / 1.472 GB, free: 14.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.347e-05/0.307, allocations: 97.33 kB / 1.472 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.307, allocations: 3.938 kB / 1.472 GB, free: 14.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.307, allocations: 15.98 kB / 1.472 GB, free: 14.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.307, allocations: 3.938 kB / 1.472 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.307, allocations: 0 / 1.472 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001731/0.3072, allocations: 0.5822 MB / 1.472 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3072, allocations: 0 / 1.472 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.443e-05/0.3072, allocations: 69.06 kB / 1.472 GB, free: 14.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.3072, allocations: 8.125 kB / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-06/0.3072, allocations: 0 / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.3072, allocations: 3.938 kB / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.3073, allocations: 0 / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.3073, allocations: 0 / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.073e-05/0.3073, allocations: 79.28 kB / 1.472 GB, free: 13.99 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3073, allocations: 0 / 1.472 GB, free: 13.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001341/0.3074, allocations: 19.88 kB / 1.472 GB, free: 13.97 MB / 1.151 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.000135/0.3076, allocations: 111.3 kB / 1.473 GB, free: 13.85 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.3077, allocations: 23.98 kB / 1.473 GB, free: 13.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3077, allocations: 0 / 1.473 GB, free: 13.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.3077, allocations: 15.98 kB / 1.473 GB, free: 13.81 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.3078, allocations: 4.812 kB / 1.473 GB, free: 13.81 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.3081, allocations: 147.3 kB / 1.473 GB, free: 13.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.3081, allocations: 59.34 kB / 1.473 GB, free: 13.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.371e-05/0.3081, allocations: 7.562 kB / 1.473 GB, free: 13.55 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/0.3081, allocations: 4 kB / 1.473 GB, free: 13.55 MB / 1.151 GB Notification: Performance of Templates: time 0.00193/0.3101, allocations: 0.7639 MB / 1.474 GB, free: 12.79 MB / 1.151 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_inv.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: 8.169383375905454]