Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001323/0.001323, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001508/0.001508, allocations: 218.4 kB / 23.04 MB, free: 4.844 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.125/3.125, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002695/0.002695, allocations: 75.53 kB / 1.155 GB, free: 25.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3197, allocations: 176.1 MB / 1.327 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002382/0.322, allocations: 1.308 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.323, allocations: 0.5215 MB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.323, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.3231, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.3231, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.3236, allocations: 143.4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.3236, allocations: 19.92 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.3237, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.3237, allocations: 7.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.3237, allocations: 11.98 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3237, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.3242, allocations: 263.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3242, allocations: 11.92 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.3242, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3244, allocations: 135.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3244, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3244, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.3244, allocations: 0 / 1.33 GB, free: 14.39 MB / 1.029 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.0004447/0.3249, allocations: 291.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3249, allocations: 8.031 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.325, allocations: 8.938 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3251, allocations: 114.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3251, allocations: 4.375 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.3251, allocations: 384 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3252, allocations: 46.19 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3252, allocations: 4.125 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3252, allocations: 3.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3252, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.907e-05/0.3253, allocations: 15.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.3256, allocations: 200.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3258, allocations: 50.62 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.3258, allocations: 20.84 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3259, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3259, allocations: 30.56 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3259, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001749/0.3261, allocations: 61.64 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3261, allocations: 51.41 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.059e-05/0.3262, allocations: 98.03 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3262, allocations: 29.69 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.3263, allocations: 88.14 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.3263, allocations: 15.84 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3263, allocations: 17.72 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3265, allocations: 318.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.3265, allocations: 12 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.773e-05/0.3265, allocations: 13.72 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.404e-05/0.3266, allocations: 33.7 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3266, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.659e-05/0.3267, allocations: 65.56 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3267, allocations: 4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3267, allocations: 4.031 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3267, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.3268, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3268, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.3268, allocations: 11.89 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3268, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 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.327e-05/0.3269, allocations: 114.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.3269, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.3271, allocations: 65.36 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3271, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3271, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3271, allocations: 0 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3272, allocations: 109.3 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3272, allocations: 0 / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.3272, allocations: 4 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3272, allocations: 3.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3273, allocations: 7.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3273, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3273, allocations: 3.938 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.3274, allocations: 151.4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.946e-06/0.3274, allocations: 11.94 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3274, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.773e-05/0.3275, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.3275, allocations: 3.984 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.3275, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.3275, allocations: 83.28 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3275, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.3278, allocations: 23.88 kB / 1.332 GB, free: 11.95 MB / 1.029 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.0001831/0.328, allocations: 119.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.3281, allocations: 23.94 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3281, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.3281, allocations: 11.98 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.3283, allocations: 4.188 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.3286, allocations: 148.5 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.3287, allocations: 63.34 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.3287, allocations: 7.438 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.3287, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Templates: time 0.002283/0.331, allocations: 0.7134 MB / 1.333 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.727737912908196]