Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.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.001292/0.001292, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002135/0.003427, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00111/0.00111, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002576, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9378/0.9378, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0893/1.027, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.411/2.411, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2355/2.646, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.563e-05, allocations: 5.125 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.001577/0.001593, allocations: 1.396 MB / 0.8203 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005727/0.002166, allocations: 0.5798 MB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.51e-05/0.002181, allocations: 0 / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-06/0.002187, allocations: 7.875 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.785e-05/0.002205, allocations: 8 kB / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.002476, allocations: 143.2 kB / 0.8211 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.002521, allocations: 7.938 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.002557, allocations: 7.984 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.408e-05/0.002601, allocations: 8 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.00265, allocations: 4 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-06/0.002659, allocations: 0 / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.003006, allocations: 327.2 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.00302, allocations: 7.938 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.003031, allocations: 4 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.003208, allocations: 119.7 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.003219, allocations: 7.938 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00322, allocations: 0 / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.003232, allocations: 0 / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003142/0.003546, allocations: 272.2 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.003574, allocations: 12.03 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.003598, allocations: 0.9375 kB / 0.8218 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.003675, allocations: 109.7 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.003684, allocations: 4.375 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.003692, allocations: 384 / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.964e-05/0.003752, allocations: 34.25 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.003758, allocations: 192 / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-06/0.003763, allocations: 384 / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.003768, allocations: 4.359 kB / 0.822 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-06/0.003778, allocations: 7.938 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.339e-05/0.003852, allocations: 60.98 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.00389, allocations: 22.67 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.051e-05/0.003901, allocations: 8.859 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.003915, allocations: 4 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.003936, allocations: 38.55 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.003936, allocations: 0 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.747e-05/0.004014, allocations: 33.64 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.004037, allocations: 51.41 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.004086, allocations: 106.7 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.004093, allocations: 25.7 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.004112, allocations: 84.14 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.004134, allocations: 4.203 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.004153, allocations: 17.72 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.004222, allocations: 318.8 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.004228, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.004233, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.004254, allocations: 16.83 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004256, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.174e-05/0.004287, allocations: 33.64 kB / 0.8228 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.004299, allocations: 8 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004303, allocations: 0 / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.004319, allocations: 8.094 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.00443, allocations: 11.98 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000213/0.004643, allocations: 0.5742 MB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.004655, allocations: 8 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.00466, allocations: 0 / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.004705, allocations: 105.8 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.004711, allocations: 7.922 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.004772, allocations: 40.95 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.004775, allocations: 8.031 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004776, allocations: 0 / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.004779, allocations: 3.984 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.862e-05/0.004828, allocations: 69.84 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004829, allocations: 0 / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.004873, allocations: 8 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-06/0.00488, allocations: 7.938 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.004882, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-06/0.004885, allocations: 0 / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001741/0.005059, allocations: 0.5898 MB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.00506, allocations: 0 / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.698e-05/0.005097, allocations: 61.06 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-06/0.005104, allocations: 4 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-06/0.005112, allocations: 4 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-06/0.005121, allocations: 0 / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.005123, allocations: 0 / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.011e-05/0.005133, allocations: 8.859 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005133, allocations: 0 / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001218/0.005255, allocations: 23.92 kB / 0.8243 GB, free: 12.74 MB / 0.8073 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.005403, allocations: 112.4 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.005479, allocations: 24.78 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.005482, allocations: 4 kB / 0.8244 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.005756, allocations: 8.859 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.945e-05/0.005816, allocations: 11.94 kB / 0.8244 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.006205, allocations: 104.9 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.006235, allocations: 59.34 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.882e-05/0.006254, allocations: 3.984 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.006281, allocations: 51.38 kB / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of SimCode: time 3.6e-07/0.006282, allocations: 0 / 0.8246 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of Templates: time 0.00183/0.008111, allocations: 0.6184 MB / 0.8252 GB, free: 11.72 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1308250688016415]