Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001535/0.001535, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001638/0.001638, allocations: 192 kB / 22.23 MB, free: 5.16 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.335/1.335, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.957/2.957, allocations: 495.7 MB / 0.7831 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 64.52 kB / 1.137 GB, free: 33.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 173.6 MB / 1.307 GB, free: 1.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002312/0.2996, allocations: 1.313 MB / 1.308 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.3006, allocations: 0.5877 MB / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.3006, allocations: 4 kB / 1.309 GB, free: 8 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.3006, allocations: 3.938 kB / 1.309 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.3007, allocations: 3.984 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.3011, allocations: 142.9 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.084e-05/0.3012, allocations: 19.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.915e-05/0.3012, allocations: 4 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.954e-05/0.3013, allocations: 11.94 kB / 1.309 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.3013, allocations: 15.97 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3013, allocations: 3.938 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.3018, allocations: 339.4 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3018, allocations: 4 kB / 1.309 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.3018, allocations: 11.92 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3021, allocations: 143.5 kB / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3021, allocations: 0 / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3021, allocations: 0 / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3021, allocations: 0 / 1.309 GB, free: 15.32 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004204/0.3025, allocations: 290 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.3026, allocations: 12.86 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3026, allocations: 4.938 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3027, allocations: 118.4 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3027, allocations: 4.375 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.3027, allocations: 4.375 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3028, allocations: 46.19 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3028, allocations: 192 / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3029, allocations: 3.938 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3029, allocations: 4 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.3029, allocations: 15.98 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.3032, allocations: 216 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3034, allocations: 54.56 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.501e-05/0.3034, allocations: 16.86 kB / 1.31 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3035, allocations: 7.984 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3035, allocations: 30.56 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3035, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.000162/0.3037, allocations: 57.69 kB / 1.31 GB, free: 14.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3037, allocations: 55.34 kB / 1.31 GB, free: 14.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.3038, allocations: 93.86 kB / 1.31 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3038, allocations: 25.7 kB / 1.311 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.3038, allocations: 88.08 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3038, allocations: 23.89 kB / 1.311 GB, free: 14.01 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.3039, allocations: 17.72 kB / 1.311 GB, free: 13.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.304, allocations: 310.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.304, allocations: 7.984 kB / 1.311 GB, free: 13.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.3041, allocations: 21.72 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.3041, allocations: 25.72 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3041, allocations: 4 kB / 1.311 GB, free: 13.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.31e-05/0.3042, allocations: 61.56 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3042, allocations: 4 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3042, allocations: 3.984 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3042, allocations: 4 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-05/0.3043, allocations: 12.42 kB / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3043, allocations: 0 / 1.311 GB, free: 13.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.3043, allocations: 7.875 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.3043, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.3044, allocations: 117.8 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.3044, allocations: 3.953 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.3046, allocations: 69.34 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3046, allocations: 0 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3046, allocations: 128 / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3046, allocations: 7.938 kB / 1.311 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.3047, allocations: 136.6 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3047, allocations: 0 / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.3048, allocations: 4 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3048, allocations: 7.938 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3048, allocations: 4 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3048, allocations: 0 / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3048, allocations: 0 / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3049, allocations: 147.5 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.3049, allocations: 3.984 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3049, allocations: 4 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.305, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.305, allocations: 4 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.305, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.305, allocations: 83.28 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.305, allocations: 0 / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000242/0.3053, allocations: 23.92 kB / 1.312 GB, free: 12.82 MB / 1.014 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.3055, allocations: 115.9 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3056, allocations: 23.92 kB / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3056, allocations: 0 / 1.312 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.3056, allocations: 16.06 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3058, allocations: 7.938 kB / 1.312 GB, free: 12.65 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.3061, allocations: 118.8 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3064, allocations: 0.6768 MB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.3064, allocations: 4.25 kB / 1.313 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.3064, allocations: 11.44 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3064, allocations: 0 / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of Templates: time 0.002684/0.3091, allocations: 0.5385 MB / 1.313 GB, free: 11.25 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.090499757789075]