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.001514/0.001514, 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.001702/0.001702, allocations: 165.7 kB / 23.55 MB, free: 0.8828 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.853/2.853, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.084e-05, allocations: 3.156 kB / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002579/0.00261, allocations: 1.312 MB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00366, allocations: 0.53 MB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.003687, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.003708, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.003756, allocations: 3.938 kB / 0.8126 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.004351, allocations: 148.6 kB / 0.8128 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.004404, allocations: 19.88 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.004437, allocations: 1.594 kB / 0.8128 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.004478, allocations: 15.98 kB / 0.8128 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.004534, allocations: 11.92 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.004548, allocations: 0 / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.005058, allocations: 271.9 kB / 0.8131 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.005081, allocations: 7.984 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.00511, allocations: 4.719 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.005407, allocations: 155.5 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005409, allocations: 0.5312 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00541, allocations: 1.562 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.005413, allocations: 0 / 0.8132 GB, free: 15.64 MB / 0.7761 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.0004752/0.005888, allocations: 282 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.005923, allocations: 8.031 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.005977, allocations: 5.469 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.006102, allocations: 111 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.006116, allocations: 4.375 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.006124, allocations: 384 / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.006244, allocations: 42.25 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006251, allocations: 1.344 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.006263, allocations: 4.375 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.006267, allocations: 384 / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.006326, allocations: 21.23 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.006675, allocations: 204.6 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.006889, allocations: 40.16 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.077e-05/0.00694, allocations: 20.84 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.006965, allocations: 3.984 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.006995, allocations: 30.56 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.006996, allocations: 13.38 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.007185, allocations: 57.62 kB / 0.814 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.007235, allocations: 55.41 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.007327, allocations: 97.86 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.007348, allocations: 26.73 kB / 0.8142 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.00741, allocations: 84.09 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.007428, allocations: 15.89 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.007464, allocations: 15.75 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.007638, allocations: 318.8 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.007662, allocations: 7.984 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.007695, allocations: 17.72 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.007752, allocations: 31.97 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007754, allocations: 0 / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001214/0.007875, allocations: 61.62 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.007891, allocations: 10.66 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.007898, allocations: 3.938 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.007915, allocations: 0 / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.007973, allocations: 12.48 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007977, allocations: 0.5312 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.008004, allocations: 5.875 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.008014, allocations: 8 kB / 0.8148 GB, free: 13.89 MB / 0.7761 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 9.071e-05/0.008105, allocations: 105.8 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.008135, allocations: 7.953 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.008293, allocations: 71.36 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008295, allocations: 0 / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.008299, allocations: 0 / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.008301, allocations: 0 / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.008449, allocations: 101.5 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.008457, allocations: 8 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.008496, allocations: 8.953 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.008498, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.008505, allocations: 0 / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.008509, allocations: 4.656 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.008513, allocations: 3.984 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.008671, allocations: 153 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.008678, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008692, allocations: 7.984 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.008756, allocations: 12.77 kB / 0.8152 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.008772, allocations: 3.984 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.008775, allocations: 3.312 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.008831, allocations: 79.28 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008831, allocations: 0 / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002505/0.009081, allocations: 15.94 kB / 0.8153 GB, free: 13.26 MB / 0.7761 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.000206/0.009287, allocations: 123.1 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.95e-05/0.009387, allocations: 27.92 kB / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009389, allocations: 0 / 0.8155 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.009411, allocations: 10.31 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.00963, allocations: 10.42 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.009969, allocations: 116.7 kB / 0.8156 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.01004, allocations: 67.2 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.01007, allocations: 6.062 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.0101, allocations: 8.5 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.0101, allocations: 1.094 kB / 0.8157 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.003172/0.01327, allocations: 0.524 MB / 0.8162 GB, free: 12.34 MB / 0.7761 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/jenkins/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: 7.779641549917869]