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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001764/0.001764, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.568/1.568, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5763 GB " [Timeout remaining time 177] 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=2500,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=2500,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.002005/0.002005, allocations: 67.88 kB / 1.057 GB, free: 2.074 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3569, allocations: 160.7 MB / 1.214 GB, free: 1.043 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00234/0.3593, allocations: 1.285 MB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3603, allocations: 0.5955 MB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.3603, allocations: 3.938 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.3603, allocations: 3.984 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.3604, allocations: 3.938 kB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.3609, allocations: 155.2 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.551e-05/0.3609, allocations: 15.92 kB / 1.216 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.361, allocations: 4 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.361, allocations: 8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.361, allocations: 15.92 kB / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.3611, allocations: 0 / 1.216 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.3616, allocations: 347.3 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.3616, allocations: 0 / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.3616, allocations: 11.94 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.3619, allocations: 155.4 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3619, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3619, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.3619, allocations: 4 kB / 1.217 GB, free: 14.43 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.0004647/0.3624, allocations: 359 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3624, allocations: 16.03 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.3624, allocations: 4.938 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3626, allocations: 164.4 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3626, allocations: 4.375 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.3626, allocations: 384 / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.3627, allocations: 46.19 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3627, allocations: 192 / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3627, allocations: 3.938 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3628, allocations: 0 / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.3628, allocations: 20 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3632, allocations: 253.7 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3634, allocations: 42.56 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.3634, allocations: 20.84 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.3635, allocations: 3.938 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3635, allocations: 34.56 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3635, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.3637, allocations: 57.69 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3637, allocations: 55.34 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/0.3638, allocations: 101.8 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3638, allocations: 25.7 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3638, allocations: 84.09 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.3639, allocations: 11.89 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.3639, allocations: 25.67 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3641, allocations: 318.8 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.3641, allocations: 7.938 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.3641, allocations: 21.72 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.3642, allocations: 25.7 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3642, allocations: 4 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.3643, allocations: 65.94 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3643, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3643, allocations: 4.047 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3643, allocations: 3.984 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.3644, allocations: 8 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3644, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.3644, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3644, allocations: 4 kB / 1.218 GB, free: 12.43 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 8.388e-05/0.3645, allocations: 121.7 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.3645, allocations: 4.031 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.3647, allocations: 61.12 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3647, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3647, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3647, allocations: 4 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3648, allocations: 165.5 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3648, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.3649, allocations: 8.125 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3649, allocations: 7.984 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3649, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3649, allocations: 4 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3649, allocations: 0 / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.365, allocations: 151.4 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.3651, allocations: 77.11 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.3651, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.3652, allocations: 8 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.3652, allocations: 3.938 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3652, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.3652, allocations: 87.27 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3652, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002372/0.3655, allocations: 19.88 kB / 1.219 GB, free: 11.62 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.0002055/0.3657, allocations: 119.2 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.3658, allocations: 27.92 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.3658, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.3658, allocations: 8 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.366, allocations: 8 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.3663, allocations: 152.2 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3666, allocations: 0.6767 MB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.3667, allocations: 11.44 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.3667, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of Templates: time 0.002209/0.3689, allocations: 0.7107 MB / 1.221 GB, free: 9.844 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_2/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 [Calling sys.exit(0), Time elapsed: 10.106696498114616]