Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 443.5 MB / 0.731 GB, free: 14.03 MB / 0.5763 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.06 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 160.7 MB / 1.217 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002389/0.3016, allocations: 1.294 MB / 1.218 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3026, allocations: 0.6033 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.3026, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.3026, allocations: 0 / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.3027, allocations: 3.938 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.3032, allocations: 147.4 kB / 1.219 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.3033, allocations: 23.94 kB / 1.219 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.3033, allocations: 3.984 kB / 1.219 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.3033, allocations: 4 kB / 1.219 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.3034, allocations: 11.94 kB / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3034, allocations: 4 kB / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.3039, allocations: 343.3 kB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.304, allocations: 3.984 kB / 1.219 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.304, allocations: 7.938 kB / 1.219 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.3042, allocations: 151.5 kB / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3042, allocations: 0 / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3042, allocations: 0 / 1.219 GB, free: 13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.3043, allocations: 4 kB / 1.219 GB, free: 13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004676/0.3047, allocations: 367 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3048, allocations: 8.031 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.3048, allocations: 0.9375 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3049, allocations: 164.4 kB / 1.22 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3049, allocations: 8.312 kB / 1.22 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3049, allocations: 384 / 1.22 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.305, allocations: 42.25 kB / 1.22 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3051, allocations: 8.125 kB / 1.22 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3051, allocations: 3.938 kB / 1.22 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3051, allocations: 4 kB / 1.22 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.3051, allocations: 15.98 kB / 1.22 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.3055, allocations: 249.6 kB / 1.22 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3057, allocations: 50.5 kB / 1.22 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.3057, allocations: 20.92 kB / 1.22 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3057, allocations: 3.984 kB / 1.22 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3058, allocations: 34.56 kB / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3058, allocations: 0 / 1.22 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.3059, allocations: 61.61 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.306, allocations: 51.41 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.3061, allocations: 97.8 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3061, allocations: 25.7 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.3061, allocations: 96.09 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.3061, allocations: 11.88 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.3062, allocations: 17.72 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3063, allocations: 310.8 kB / 1.221 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.3063, allocations: 11.98 kB / 1.221 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.3064, allocations: 17.72 kB / 1.221 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.3064, allocations: 33.72 kB / 1.221 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3064, allocations: 0 / 1.221 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.3065, allocations: 65.52 kB / 1.221 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3065, allocations: 8 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3065, allocations: 0 / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3066, allocations: 3.984 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.3066, allocations: 8.125 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3066, allocations: 4 kB / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.3066, allocations: 0 / 1.221 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3066, allocations: 4.031 kB / 1.221 GB, free: 10.99 MB / 0.9669 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.941e-05/0.3067, allocations: 117.7 kB / 1.221 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3067, allocations: 4 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.3069, allocations: 61.17 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3069, allocations: 4 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3069, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3069, allocations: 0 / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3071, allocations: 165.5 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3071, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3071, allocations: 12 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3071, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.3071, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3071, allocations: 0 / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3071, allocations: 7.875 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3072, allocations: 147.5 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.3073, allocations: 85.09 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.3073, allocations: 0.5156 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.3073, allocations: 7.938 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.3074, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3074, allocations: 4 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.3074, allocations: 83.27 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3074, allocations: 0 / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002428/0.3077, allocations: 27.86 kB / 1.221 GB, free: 10.18 MB / 0.9669 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.0001782/0.3078, allocations: 115.2 kB / 1.222 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.3079, allocations: 23.98 kB / 1.222 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3079, allocations: 4 kB / 1.222 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.362e-05/0.3079, allocations: 12 kB / 1.222 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.3082, allocations: 7.688 kB / 1.222 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.3085, allocations: 148.1 kB / 1.222 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3087, allocations: 0.6768 MB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3088, allocations: 11.44 kB / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3088, allocations: 0 / 1.222 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of Templates: time 0.002203/0.311, allocations: 0.7175 MB / 1.223 GB, free: 8.402 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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