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.001931/0.001931, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002054/0.002054, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.67/2.67, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 224 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.279e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003003/0.003036, allocations: 1.316 MB / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.004244, allocations: 0.5292 MB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.004274, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.004302, allocations: 5.219 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.004357, allocations: 3.984 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.005026, allocations: 152.8 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.005096, allocations: 23.8 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.005139, allocations: 0 / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.005176, allocations: 13.47 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.005238, allocations: 7.984 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.005254, allocations: 0 / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.005816, allocations: 275.4 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.00583, allocations: 3.188 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.005865, allocations: 7.938 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.006184, allocations: 151.5 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006187, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006188, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.006193, allocations: 0 / 0.7888 GB, free: 10.34 MB / 0.7448 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.0005296/0.006722, allocations: 286 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.006761, allocations: 12.03 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.006808, allocations: 4.938 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.006942, allocations: 118.7 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.006955, allocations: 384 / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.006966, allocations: 4.969 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.007081, allocations: 38.25 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.007089, allocations: 4.906 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.007099, allocations: 384 / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.007104, allocations: 0.875 kB / 0.7892 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.292e-05/0.007166, allocations: 21.48 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.007572, allocations: 196.5 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.00782, allocations: 46.69 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.007865, allocations: 21.45 kB / 0.7895 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.007891, allocations: 4.906 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.007924, allocations: 30.56 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.007925, allocations: 0 / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.008135, allocations: 66.25 kB / 0.7896 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.008193, allocations: 52 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.008292, allocations: 97.84 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.008317, allocations: 31.08 kB / 0.7898 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.008387, allocations: 88.09 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.008405, allocations: 11.84 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.008445, allocations: 17.72 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.008633, allocations: 316.4 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.008658, allocations: 12 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.594e-05/0.008694, allocations: 17.72 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.633e-05/0.00876, allocations: 36.17 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008762, allocations: 0 / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001125/0.008874, allocations: 57.69 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.008888, allocations: 7.938 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.008896, allocations: 3.938 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.008919, allocations: 4 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.916e-05/0.008979, allocations: 9.688 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.008987, allocations: 4 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.009012, allocations: 128 / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.00902, allocations: 4 kB / 0.7903 GB, free: 8.574 MB / 0.7448 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 0.0001171/0.009137, allocations: 114.4 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.009172, allocations: 11.94 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/0.009336, allocations: 59.47 kB / 0.7905 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.00934, allocations: 4 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.009345, allocations: 0 / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.009347, allocations: 0 / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.00951, allocations: 105.3 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.009511, allocations: 6.062 kB / 0.7906 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.009554, allocations: 8 kB / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.009557, allocations: 0 / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.009564, allocations: 0 / 0.7906 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.009569, allocations: 3.938 kB / 0.7906 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00957, allocations: 0 / 0.7906 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.009752, allocations: 148.5 kB / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.009767, allocations: 9.094 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.009783, allocations: 3.984 kB / 0.7908 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.022e-05/0.009843, allocations: 3.938 kB / 0.7908 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.009865, allocations: 8.812 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.009868, allocations: 0 / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.009921, allocations: 79.81 kB / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009921, allocations: 0 / 0.7909 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002798/0.0102, allocations: 20.72 kB / 0.7909 GB, free: 7.941 MB / 0.7448 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.0002367/0.01044, allocations: 125.2 kB / 0.791 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01054, allocations: 16 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01055, allocations: 0 / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-05/0.01058, allocations: 19.92 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01081, allocations: 6.109 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.01122, allocations: 132.2 kB / 0.7912 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.292e-05/0.01131, allocations: 63.34 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.01134, allocations: 4.234 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01138, allocations: 12.5 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.01138, allocations: 0 / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.003706/0.01508, allocations: 0.5218 MB / 0.7918 GB, free: 7.02 MB / 0.7448 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 -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/jenkins/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: 7.557965805055574]