Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001381/0.001381, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001648/0.001648, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.697/2.697, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 71.84 kB / 0.9515 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3106, allocations: 169.9 MB / 1.117 GB, free: 2.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002806/0.3134, allocations: 1.306 MB / 1.119 GB, free: 1.184 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3145, allocations: 0.5255 MB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.3145, allocations: 0 / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.3146, allocations: 0 / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.526e-05/0.3146, allocations: 3.938 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.3153, allocations: 155.3 kB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.3153, allocations: 15.92 kB / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3154, allocations: 7.984 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.3154, allocations: 8 kB / 1.119 GB, free: 480 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.3155, allocations: 15.86 kB / 1.119 GB, free: 464 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3155, allocations: 3.938 kB / 1.119 GB, free: 460 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004973/0.316, allocations: 267.5 kB / 1.12 GB, free: 192 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.316, allocations: 4 kB / 1.12 GB, free: 188 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.316, allocations: 11.94 kB / 1.12 GB, free: 176 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.3163, allocations: 127.6 kB / 1.12 GB, free: 48 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3163, allocations: 4 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3163, allocations: 3.938 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3163, allocations: 0 / 1.12 GB, free: 40 kB / 1.061 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.0004865/0.3168, allocations: 290.1 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3168, allocations: 12.03 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.3169, allocations: 4.938 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.317, allocations: 106.5 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.317, allocations: 384 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.317, allocations: 384 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3171, allocations: 42.25 kB / 1.12 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3171, allocations: 4.188 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3172, allocations: 3.938 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3172, allocations: 4 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.3172, allocations: 15.98 kB / 1.12 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.3175, allocations: 200.5 kB / 1.12 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3178, allocations: 42.62 kB / 1.121 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.3178, allocations: 24.89 kB / 1.121 GB, free: 15.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3178, allocations: 3.938 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3178, allocations: 34.56 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.3178, allocations: 4 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001938/0.318, allocations: 61.58 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3181, allocations: 55.41 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.3182, allocations: 97.84 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.3182, allocations: 29.7 kB / 1.121 GB, free: 14.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.3182, allocations: 80.14 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.3182, allocations: 11.84 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.3183, allocations: 21.72 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3184, allocations: 314.8 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.3184, allocations: 8 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.3185, allocations: 17.72 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.3185, allocations: 37.64 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3185, allocations: 7.938 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.3186, allocations: 61.58 kB / 1.121 GB, free: 14.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3187, allocations: 6.5 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3187, allocations: 4 kB / 1.121 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3187, allocations: 3.938 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.3187, allocations: 12.06 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.3187, allocations: 4 kB / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.3188, allocations: 0 / 1.121 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3188, allocations: 8.031 kB / 1.121 GB, free: 14.25 MB / 1.076 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 8.075e-05/0.3189, allocations: 109.8 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3189, allocations: 3.938 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.319, allocations: 65.34 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.319, allocations: 4 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.319, allocations: 3.938 kB / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.319, allocations: 0 / 1.122 GB, free: 14.05 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3192, allocations: 105.3 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3192, allocations: 0 / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3192, allocations: 12 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3192, allocations: 3.938 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3192, allocations: 0 / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3192, allocations: 0 / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3192, allocations: 0 / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.3194, allocations: 148 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.3194, allocations: 11.92 kB / 1.122 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3194, allocations: 3.984 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.3194, allocations: 3.984 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.3195, allocations: 0 / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3195, allocations: 4 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.3195, allocations: 87.22 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002645/0.3198, allocations: 19.94 kB / 1.122 GB, free: 13.61 MB / 1.076 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.0001895/0.32, allocations: 115.2 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.3201, allocations: 20 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3201, allocations: 0 / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.3201, allocations: 23.86 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3203, allocations: 2.25 kB / 1.122 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.3206, allocations: 138.7 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.3207, allocations: 63.34 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.971e-05/0.3207, allocations: 4 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.3208, allocations: 8.5 kB / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.3208, allocations: 0 / 1.122 GB, free: 13.18 MB / 1.076 GB Notification: Performance of Templates: time 0.003101/0.3239, allocations: 0.4964 MB / 1.123 GB, free: 12.69 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.456553902011365]